firefox-devtools / firefox-devtools/profiler

Implement a quick visualization prototype for the overhead data

Open
#2,190 1 comment 0 reactions 0 assignees View on GitHub
discussion
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

We have overhead data per process [inside the profile data](https://searchfox.org/mozilla-central/rev/38c88cbf4be87dfa0636d15a5d3599a8ea0d1a72/tools/profiler/core/ProfileBufferEntry.cpp#1212) right now. It has some timing information like `locking`, `expiredMarkerCleaning`, `counters`, `threads`. It would be a good to visualize that information. That could help us to understand how consistent the profile and how much overhead we are bringing. That would also allow us to see max/min/mean timing points better and that would help us to understand the bottlenecks of the profiler.

We discussed the usefulness and the required work to visualize this data a little bit in our bi-weekly meeting and it seems like it's useful, at least for Gerald's work. If it's not too much work, we can create a prototype and we/Gerald can use that to see the if that data is giving us some useful information. That prototype can be quick and dirty. We probably won't merge it, but it would be good to have a deploy preview for this.

See #2185 for adding an overhead summary to metadata.

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

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.