Open
Bug 1851226
Opened 1 year ago
Updated 1 year ago
Optimize js_arena_malloc
Categories
(Core :: Memory Allocator, enhancement)
Core
Memory Allocator
Tracking
()
NEW
People
(Reporter: mstange, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Speedometer 3 spends 1.3% of the measured time in js_arena_malloc
.
Profile: https://share.firefox.dev/3OT6ZcA
18% of it are in ArenaCollection::GetById
, so if we can avoid the arena lookup, it should improve our sp3 score by 0.24%.
Improving overall sp3 by 0.24% is equivalent to improving a single subtest by 4.9%.
Here's a breakdown of the callers of js_arena_malloc
: https://share.firefox.dev/3PmuIDo
- 22% are from
js::NewStringCopyN
duringJSON.parse
- 13%
ICStubSpace::alloc
- 7.5%
JSRope::flatten
- Other
Updated•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-540
You need to log in
before you can comment on or make changes to this bug.
Description
•