Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to specify threads and tasks on 1.8 #44

Merged
merged 9 commits into from
Jan 11, 2022

Conversation

IanButterworth
Copy link
Collaborator

@IanButterworth IanButterworth commented Oct 26, 2021

I've been trying to get ProfileView setup to handle this before claiming victory, but here's WIP over here.

My general strategy is to generate one flamegraph per threadid or all_threads, and stack them in the ProfileView window with some form of combobox selector for [all, 1, 2, 3, 4 ...].
As opposed to somehow embedding the thread info into the flamegraph itself and selectively pruning it in the GUI.

  • Add tests with thread/task specified

@codecov
Copy link

codecov bot commented Oct 27, 2021

Codecov Report

Merging #44 (b59d9c9) into master (1e5f746) will increase coverage by 0.08%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
+ Coverage   92.79%   92.87%   +0.08%     
==========================================
  Files           5        5              
  Lines         347      351       +4     
==========================================
+ Hits          322      326       +4     
  Misses         25       25              
Impacted Files Coverage Δ
src/FlameGraphs.jl 0.00% <0.00%> (ø)
src/graph.jl 94.33% <100.00%> (+0.22%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e5f746...b59d9c9. Read the comment docs.

@IanButterworth IanButterworth marked this pull request as ready for review January 6, 2022 02:37
@IanButterworth
Copy link
Collaborator Author

@timholy this should be ready for review now

It works with timholy/ProfileView.jl#176

@IanButterworth
Copy link
Collaborator Author

I'd be happy to merge this, do a patch release, and finish up timholy/ProfileView.jl#176 if you don't have time to review, and are ok with that, @timholy ?

@IanButterworth IanButterworth merged commit 62244a3 into timholy:master Jan 11, 2022
@IanButterworth IanButterworth deleted the ib/handle_meta branch January 11, 2022 16:02
@timholy
Copy link
Owner

timholy commented Jan 11, 2022

I have a ton of faith in your work, so in the absence of feedback from me, go for it! I haven't yet poked at this, but the plan sounds great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants