Open
Bug 1339557
(Speedometer_V2)
Opened 8 years ago
Updated 2 years ago
[Meta] Quantum Release Criteria: Figure out why we are so slow on Speedometer v2
Categories
(Core :: JavaScript Engine, defect, P2)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: ehsan.akhgari, Unassigned)
References
(Depends on 8 open bugs, Blocks 1 open bug, )
Details
(Keywords: meta, perf)
See <https://twitter.com/bz_moz/status/831585613258379265>
We have looked at this before a bit, see bug 1245279 and bug 1022988. We need to profile again and find out why we are so slow. This is important since this test executes a bunch of popular frameworks.
Andrew, can we find an owner for this please?
Flags: needinfo?(overholt)
Comment 1•8 years ago
|
||
Let me work on it.
Reporter | ||
Comment 2•8 years ago
|
||
I spent a bit of time looking at some random profiles from a long Speedometer run and all I can see is JS. Perhaps someone on the JS team would be a better candidate.
Component: DOM → JavaScript Engine
Flags: needinfo?(nihsanullah)
Comment 3•8 years ago
|
||
Marked improvement overnight after fix via bug: 1339535
My fiber today is shocking for some reason, but still seeing a ~35% speed improvement. Testing in another location in around an hour.
Arch Linux rolling release. Nightly 2017-02-28 vs 2017-02-27. Dell Latitude E4300 16Gb RAM.
Updated•8 years ago
|
Flags: needinfo?(nihsanullah)
Whiteboard: [qf:investigate][qf:p1]
Updated•8 years ago
|
Flags: needinfo?(overholt)
Comment 4•8 years ago
|
||
Despite improvements to Nightly, which I've experienced on my laptop since Feb 27, testing is now shockingly slow on a Galaxy Tab A (9.7) running Fx55. Speedometer test been running for 45 mins and not yet half way :(
Updated•8 years ago
|
Whiteboard: [qf:investigate][qf:p1] → [qf:investigate][qf:meta]
Updated•8 years ago
|
Alias: Speedometer_V2
Keywords: meta
Summary: Figure out why we are so slow on Speedometer → [Meta] Figure out why we are so slow on Speedometer v2
Updated•8 years ago
|
Depends on: js-startup-cache
Comment 5•8 years ago
|
||
Can we put a link to the v2 speedometer in this bug? Not sure where it lives.
Updated•8 years ago
|
Depends on: same-compartment-realms
Comment 6•8 years ago
|
||
I added it to the URL field of this bug.
Reporter | ||
Updated•8 years ago
|
Updated•8 years ago
|
Blocks: TimeToFirstPaint_FB
Updated•8 years ago
|
No longer blocks: TimeToFirstPaint_FB
Updated•8 years ago
|
Alias: Speedometer_V2 → QRC_Speedometer_V2
Summary: [Meta] Figure out why we are so slow on Speedometer v2 → [Meta] Quantum Release Criteria: Figure out why we are so slow on Speedometer v2
Updated•8 years ago
|
Alias: QRC_Speedometer_V2 → Speedometer_V2
Updated•8 years ago
|
No longer blocks: QuantumFlow
According to bug 1347525 slow InnerHTML is the main reason for Firefox's slowness in Speedometer. This was resolved, but Speedometer is still at best only half as fast as in Chrome for me.
With an i7 6700k I get 199 runs/minute in Chrome, 98 runs/minute in Firefox. This scales down with CPU power, on an i5 6200U I get 42 runs/minute with Firefox, 88 with Chrome.
How relevant is Speedometer for Gecko, anyway? V8 describes it as a great tool for measuring real world performance, however in bug 1347525 comment #3 seems to suggest otherwise.
Comment 8•8 years ago
|
||
(In reply to TMart from comment #7)
> According to bug 1347525 slow InnerHTML is the main reason for Firefox's
> slowness in Speedometer.
I never said that. In that bug I was talking about one of the subtests, but there are a lot of these and we knew fixing that bug would not magically fix everything.
> With an i7 6700k I get 199 runs/minute in Chrome, 98 runs/minute in Firefox.
> This scales down with CPU power, on an i5 6200U I get 42 runs/minute with
> Firefox, 88 with Chrome.
This might be better with Speedometer v2.
> How relevant is Speedometer for Gecko, anyway? V8 describes it as a great
> tool for measuring real world performance, however in bug 1347525 comment #3
> seems to suggest otherwise.
There are a bunch of silly things for sure. Overall it's not an unreasonable benchmark though and so far almost all performance issues we found/fixed will help real-world websites too.
Comment 10•7 years ago
|
||
The machine that runs speedometer got this morning a change that will make the score of speedometer improve (bug 1373396).
I don't know how it will affect the score of Chrome but we will know later today. AWFY is currently running:
https://arewefastyet.com/#machine=36&view=breakdown&suite=speedometer-misc
Also note that we currently run non-PGO builds for speedometer which could mean that our score could even be a bit higher.
Comment 11•7 years ago
|
||
I see PollWrapper() in profiles, has anyone tried to understand why? Like is it the test designed to short break between runs, or is it firefox waiting on something?
Reporter | ||
Comment 12•7 years ago
|
||
(In reply to Ting-Yu Chou [:ting] from comment #11)
> I see PollWrapper() in profiles, has anyone tried to understand why? Like is
> it the test designed to short break between runs, or is it firefox waiting
> on something?
The test schedules a lot of asychronous work, such as loading web pages from the network, but it doesn't measure the entire time that it runs. See this function for what the benchmark really measures: https://github.com/WebKit/webkit/blob/057552ca85b3efd9c97d13a0f044abd0daba7526/PerformanceTests/Speedometer/resources/benchmark-runner.js#L121
Comment 13•7 years ago
|
||
The previous Speedtest v2 URL showed a "Not Found" page. I have been told that this is the correct URL to use (despite a page title of "Speedtest 1.0", which I'm told is incorrect).
Updated•7 years ago
|
Updated•7 years ago
|
Priority: -- → P2
Updated•6 years ago
|
Whiteboard: [qf:investigate][qf:meta] → [qf:meta]
Comment 15•5 years ago
|
||
Ted, do you think we can close this bug now?
Flags: needinfo?(sdetar) → needinfo?(tcampbell)
Comment 16•5 years ago
|
||
We are still significantly slower on Speedometer.
Comment 17•5 years ago
|
||
This is Jan's call, but as Olli points out, we still have a remaining perf difference.
Flags: needinfo?(tcampbell) → needinfo?(jdemooij)
Comment 18•5 years ago
|
||
Yeah let's keep this open for now. Even though we're not as focused on speedometer as during QF we're still slower.
Flags: needinfo?(jdemooij)
Updated•3 years ago
|
Performance Impact: --- → ?
Whiteboard: [qf:meta]
Updated•3 years ago
|
Performance Impact: ? → ---
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•