firefox-devtools / firefox-devtools/profiler

Allow to toggle between showing samples and millisecond durations in call tree

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

Description

Durations in milliseconds (even if they only approximate the real time) are easier to understand than the concept of samples (especially if you are not proficient in using sampling profilers).
I therefore propose to add the possibility to switch the sample counts to durations in the call tree (and associated view). An example of what this can look like is:
![Sample tree view with durations instead of samples](https://user-images.githubusercontent.com/490655/186876283-860ad03b-f377-4af8-82b1-3881a4f5ff85.png)

I'm happy to implement this feature.

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

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.