~2500 positioned DIVs testcase is slower in Firefox than Chromium
Categories
(Core :: Layout, defect)
Tracking
()
| Performance Impact | ? |
People
(Reporter: mtschrep, Unassigned)
References
()
Details
(Keywords: perf, Whiteboard: [inline style performance])
Attachments
(2 files)
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
Comment 4•18 years ago
|
||
Comment 5•18 years ago
|
||
Comment 6•18 years ago
|
||
Comment 7•18 years ago
|
||
| Reporter | ||
Comment 8•18 years ago
|
||
| Reporter | ||
Comment 9•18 years ago
|
||
Comment 10•18 years ago
|
||
| Reporter | ||
Comment 11•18 years ago
|
||
Comment 12•18 years ago
|
||
Updated•17 years ago
|
Comment 13•14 years ago
|
||
Comment 14•14 years ago
|
||
Updated•3 years ago
|
Comment 15•3 years ago
|
||
The "Get all DIV's" part of this test performs exactly the same in Nightly and Chromium on my machine, 1ms in both.
This test isn't particularly stable but regarding pageload, I'm seeing about 30ms in Firefox and 16ms in Chromium.
Comment 16•3 years ago
|
||
(In reply to Gregory Pappas [:gregp] from comment #15)
The "Get all DIV's" part of this test performs exactly the same in Nightly and Chromium on my machine, 1ms in both.
This test isn't particularly stable but regarding pageload, I'm seeing about 30ms in Firefox and 16ms in Chromium.
On my Ubuntu 22.04 system, I'm seeing values that are a bit higher, but still consistent between Firefox and Chrome -- both are in the range of 45-60ms.
Also, if I scale up the number of divs (e.g. copypasting the whole pile-o'-divs 5x) to ~12481, I get larger values, but Firefox and Chrome are still on-par -- if anything, Firefox is a little bit faster (Firefox Nightly: 149ms-163ms, vs. Chrome dev: 182-195ms)
Also, the performance difference from comment 15 (30ms vs. 16ms) is a small enough delta (and also only < 2x as compared to 10x in the original report) that I'm not especially worried, unless it were extremely reliable and representative of some real-world workload.
Given all the above, I think we can consider the original issue here to have been fixed, basically. (There's a chance there's a remaining small discrepancy per comment 15, but it's small & potentially hardware-specific, and not obviously worth tracking or worrying about.)
Comment 17•3 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #16)
Also, if I scale up the number of divs (e.g. copypasting the whole pile-o'-divs 5x) to ~12481, I get larger values, but Firefox and Chrome are still on-par -- if anything, Firefox is a little bit faster (Firefox Nightly: 149ms-163ms, vs. Chrome dev: 182-195ms)
Here's that testcase, for what it's worth.
gregp, I'm mildly curious if you're still seeing Chrome faster than Firefox on this version (and if it's a substantial difference). If so, that might be something I want to dig into (as follow from your observation in comment 15).
Comment 18•3 years ago
|
||
Hi Daniel! Thanks for the enhanced test case.
Interestingly, in the 5x-as-many-divs version, Firefox is consistently faster on my machine.
Nightly: 289ms
Chrome: 415ms
Seeing this consistently across runs, very fun!
Comment 19•3 years ago
|
||
Thanks! That makes me more comfortable about closing this out.
Description
•