firefox-devtools / firefox-devtools/profiler
Profile sanitization does not constrain overhead counters to the range
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 491
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 30
Description
I was attempting to make a large profile smaller by re-sharing a small part of it: https://perfht.ml/34SzRKN
However, that profile is still over 3MB (13MB uncompressed), and about 70% of that seems to be due to the "profilerOverhead" table which stores information for all samples.
┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-253)
Contributor guide
Research direction
Start by locating the profile sanitization entry point and the code that writes the profilerOverhead table. Inspect how overhead counters are currently retained and determine the intended range from nearby logic or project discussion. Done means sanitized profiles no longer retain out-of-range overhead counters and the resulting profile is smaller.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100