-
-
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
profile collects fewer samples than in 0.4 #14281
Comments
can you provide a test case? my attempted testcase gets faster when I profile it (tested on mach and linux):
|
This script produces the exact output I see on linux:
|
OK, I'm seeing this now, my build was older than I thought. The problem is probably that the linux/posix kernel is really bad at multithreaded profiling (no regression occurred on the mach kernel). |
i think we may be able hack around linux's deficiency here by creating N kernel timers ( |
I was profiling #14106, and saw this. Set the delay to 0.002.
On master (run takes 1.2 seconds):
On 0.4 (run takes 0.8 seconds):
The 0.4 profiler got 2.5x more samples even though the test case takes less time.
The text was updated successfully, but these errors were encountered: