firefox-devtools / firefox-devtools/profiler

Memory track could show heat map for number of (de)allocation calls

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

Description

Currently the memory track only shows the amount of memory (relative to the start of the process), as captured in the `"count"` field of memory counters.

But Firefox also provides a `"number"` field, which is the number of time an allocation/deallocation function was called.

This could be useful to show, to indicate time ranges where lots of memory operations happened, regardless of the number of bytes involved.
It could be a sort of heat map, showing shades of orange along the existing memory graph.

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

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.