-
Notifications
You must be signed in to change notification settings - Fork 126
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
Rayon filtering #225
Comments
Can you give an example of what it looked like and what filtering you'd like to see? |
I've got one here. You can see that it's totally unreadable. I'd imagine filtering out anything with a rayon symbol and showing functions that one has control over more? For now I've just defined the parallelism as a feature and have been profiling with that, but that seems less than ideal. I'm not sure what the state-of-the-art in highly-parallel flamegraphs look like though, this might just be infeasible. |
+1 on this issue. I have been working with flamegraph for the past few days and needed to go back from parallel iterators to iterators for any code I wanted to profile, because the graph with the rayon feature active is undecipherable. Also the number of samples collected (I guess the number of stacks?) goes up approximately |CPU-core|-fold, when profiling parallelism with rayon. |
@benbrittain Hmm, I get a 404 for that link? I wonder if you couldn't get quite far by using the new |
oops, you caught me in the middle of a web site overhaul. link here and updated above: flamegraph |
Woah, yeah, that's certainly a right mess! Now, that all said, there is one bit that's weird here which is the |
I recently went to parallelize/optimize a library with
rayon
, and my flamegraph (unsurprisingly!) became absolutely unreadable. Optionally filtering out rayon symbols/functions would be a super helpful featureThe text was updated successfully, but these errors were encountered: