Open
Bug 2043996
Opened 7 days ago
Updated 23 hours ago
Try presizing nursery string deduplication hash table
Categories
(Core :: JavaScript: GC, task, P3)
Core
JavaScript: GC
Tracking
()
NEW
People
(Reporter: jonco, Unassigned)
References
(Blocks 2 open bugs)
Details
Investigations indicate that a significant amount of nursery GC time during the speedometer3 benchmark can be attributed to string deduplication. Growing the hash table involves rehashing existing entries and may account for a reasonable fraction of this. Pre-sizing the table, perhaps to the size used by last minor GC could help here. We could also try only doing this when GCs are occurring frequently.
Comment 1•7 days ago
|
||
A more memory-hungry variant would be clearing without freeing the previous hashtable, to avoid the free/alloc entirely. We'd still want to free it on a shrinking GC.
Updated•6 days ago
|
Updated•5 days ago
|
Blocks: speedometer3
Comment 2•23 hours ago
|
||
Please add "PERF" key word.
Thank you.
You need to log in
before you can comment on or make changes to this bug.
Description
•