firefox-devtools / firefox-devtools/profiler

Feature: Show a combined bar for GC times in JavaScript only view

Open
#2,636 3 comments 0 reactions 0 assignees View on GitHub
polish stack chart
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

When digesting JavaScript performance issues it's much easier to drill down the flamegraph in JS-only mode. For that the GC times are often very relevant to see. One can always switch back and forth between the `All stacks` and the `JavaScript` view, but that's tedious and filled with with a lot of noise which is not as relevant for a web developer as it may be for those working on firefox itself.

Full view "All stacks":

![](https://user-images.githubusercontent.com/1062408/86910431-feb77300-c119-11ea-8ee2-6098bf82e773.png)

JavaScript view:

![](https://user-images.githubusercontent.com/1062408/86911024-e3993300-c11a-11ea-92cf-7de889eb3380.png)

So the idea is if we can show a combined bar for GC times in the JavaScript view. Just a single bar that displays the total GC time at that point:

![](https://user-images.githubusercontent.com/1062408/86910437-00813680-c11a-11ea-85ba-c76100421ccf.png)

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

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.