Closed
Bug 1216286
Opened 10 years ago
Closed 2 years ago
Find a benchmark which can be used for tuning GC settings.
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
INACTIVE
Tracking | Status | |
---|---|---|
firefox44 | --- | affected |
People
(Reporter: nbp, Unassigned)
References
Details
Currently, on B2G, the GC settings are tuned for an Unagi which is no longer representative of the devices that we have today. To improve this state, we probably need better GC benchmarks for tuning the results.
For tuning the GC settings, we need a benchmark which can be used within the browser, as-if this was a standard web-page. As opposed to normal web-pages, I think it makes sense to expose additional function to ensure that the garbage collection stats only account for the one compartment that we are testing, even if this means leaking in the rest of the browser.
Previously, I used a modified version of Bill benchmark for incremental GC, with a small workload (Bug 898556 comment 23) but this benchmark was extremlly noisy on the Unagi. Terrence suggested using "devtools/gc-ubench" (Bug 1125398), but probably not for tuning GC performances.
So, the questions of this bug are:
- Is there already a benchmark which is good enough to represent the web?
- Could we make one out of the current set of gc-ubench by using weight on each benchmark result to give a score which is representative of the web?
- Can we reduce the noise by having special builds which exposed internals of the GC?
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(sphink)
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Flags: needinfo?(sphink)
Reporter | ||
Comment 1•2 years ago
|
||
This is no longer a concern for checking B2G.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•