Simplify stack serialization
Categories
(Core :: Gecko Profiler, task, P2)
Tracking
()
People
(Reporter: gregtatum, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fxp])
Right now the stacks are exported as if they are a new thread for every marker. This is very heavy handed. Markers should be emitted as an index into the stack table, and a timestamp of when the stack was taken. The reason for a timestamp is that a marker created at a point of time could be referring to some cause at a point back in time.
This will need a profile upgrader.
Reporter | ||
Updated•5 years ago
|
Update post 2022 Toronto work-week:
This would help with profiles getting bigger these days, with many more markers than previously.
The link in comment 0 is obsolete, marker stacks are now written from https://searchfox.org/mozilla-central/rev/170f06a720ddabee44c728b05ad30b18b066acca/mozglue/baseprofiler/public/BaseProfilerMarkersDetail.h#384
Examining one profile, I estimated that we could save more than 30% of space by reducing stacks in markers to the minimal amount of data (timestamp, tid, stack index). So this would certainly help a lot!
Updated•2 years ago
|
Description
•