Optimize WebKit's ARES-6 benchmark
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox52 | --- | wontfix |
People
(Reporter: tetsuharu, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Keywords: perf, triage-deferred)
Attachments
(1 file)
92.29 KB,
application/zip
|
Details |
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Comment 2•9 years ago
|
||
Updated•9 years ago
|
Updated•8 years ago
|
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Updated•8 years ago
|
Updated•6 years ago
|
Updated•3 years ago
|
Particularly if you have a lot of tabs open, Firefox performance degrades heavily on Ares 6 relative to Edge. However, if you increase dom.ipc.processCount to greater than the number of open tabs, Firefox gets pretty close.
36ms on Firefox 131 with 30 tabs open and dom.ipc.processCount = 80
vs
30ms on Edge 129.0.2792.79
When running dom.ipc.processCount = 8, I see something like 56ms on an Core i5 8250U laptop.
This suggests that Spidermonkey probably struggles under contention.
I guess I'm implying that it would be a usability win to offer a mode that spawns a new container process per tab as per Chromium, rather than relying on a fixed limit.
Furthermore. on a performance-tuned Ryzen 5800X with dom.ipc.processCount set to 80 I see the following:
17.69 ±0.38ms
Air
First Iteration
26.50 ±4.08ms
Worst 4 Iterations
11.54 ±1.01ms
Average
5.10 ±0.10ms
Basic
First Iteration
10.33 ±2.54ms
Worst 4 Iteratons
10.00 ±1.30ms
Average
6.70 ±0.12ms
Babylon
First Iteration
14.17 ±1.23ms
Worst 4 Iterations
11.17 ±4.22ms
Average
5.63 ±0.37ms
ML
First Iteration
101.67 ±2.54ms
Worst 4 Iterations
104.58 ±0.77ms
Average
99.85 ±0.87ms
The ML results are not much faster than my laptop.
Whereas a blank Edge sees the following:
8.20±0.49ms
Air
First Iteration
16.38±5.86ms
Worst 4 Iterations
5.77±0.62ms
Average
2.74±0.10ms
Basic
First Iteration
7.20±0.87ms
Worst 4 Iteratons
3.92±0.33ms
Average
2.51±0.02ms
Babylon
First Iteration
11.70±1.94ms
Worst 4 Iterations
4.48±0.79ms
Average
2.16±0.04ms
ML
First Iteration
42.10±1.15ms
Worst 4 Iterations
36.41±2.46ms
Average
30.86±0.87ms
Comment 8•5 months ago
|
||
The only open bug that blocks this is about Ion generators, which we're also tracking in a variety of other metabugs. I think it's safe to close this; any additional work that we do on these testcases can happen under the auspices of Jetstream, which incorporated ARES6.
Description
•