firefox-devtools / firefox-devtools/profiler

Display "paused ranges" in the UI

Open
#740 2 comments 0 reactions 0 assignees View on GitHub
polish
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

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

![](https://user-images.githubusercontent.com/961291/35460574-8a1a97a2-02b2-11e8-963e-fe34f89d7e20.png)

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](https://mozilla-hub.atlassian.net/browse/FP-694)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.