profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Display "paused ranges" in the UI

Open mstange opened this issue 7 years ago • 2 comments

See this profile: https://perfht.ml/2nfAMA3

The striped area that I circled in red should not be there - we don't expect to have any data in that range.

This thread was starting while the profiler was paused. During that time, we don't capture any samples. These time ranges are listed in the pausedRanges field on the process / thread. We should take those ranges into account when computing the time at which we expect to start having samples. (And ideally, we should also mark those ranges visually, but that can be done in a separate step.)

┆Issue is synchronized with this Jira Task

mstange avatar Jan 26 '18 21:01 mstange

Thanks, that makes sense.

gregtatum avatar Jan 26 '18 21:01 gregtatum

Here's another example profile: https://perfht.ml/3eojQjQ

This profile came from Talos, which pauses the profiler during times that do not contribute to the measured numbers. The pausedRanges on the thread tell us that there was a 1.4 second pause. We currently display that pause as "missing samples in buffer".

mstange avatar Apr 17 '20 18:04 mstange