-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
most of the profile runtime is in task_done_hook unless threads = 1 #41713
Comments
Related to #39746 Profiling right now is not really up to snuff for multi-threaded programs in general. https://golang.org/doc/diagnostics has a couple of nifty features. |
Right; notice the time is actually inside |
Would some post-processing of the profiling results (remove the outer task-related thingies) be a reasonable workaround? |
When the number of threads is not 1, a lot of time is reported in
task_done_hook
. This makes profiling results confusing.julia -t 1
is a workaround.The text was updated successfully, but these errors were encountered: