firefox-devtools / firefox-devtools/profiler

Have a shared graph maximum value for all the event delay graphs

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

Description

Currently, we use the maximum value of each thread to draw the event delay tracks. That means each event delay graph in a profile will have a different height scale. That makes it hard to compare with other graphs when we want to. Ideally we should use a global maximum value to scale all the event delay graphs.

Another possibly easy fix is to mark a threshold (eg 50ms which is our limit) with an horizontal line. Maybe we can even have 2 lines, one at 16ms (for animations) and one at 50ms (for hangs).

Note: Event delay tracks are also disabled by default for now. You can enable them by running `experimental.enableEventDelayTracks()` in the console.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-294)

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.