My old Maze test is now an order of magnitude slower than Chrome and Edge
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
Performance Impact | medium |
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | wontfix |
firefox-esr60 | --- | wontfix |
firefox-esr91 | --- | wontfix |
firefox56 | --- | wontfix |
firefox57 | --- | wontfix |
firefox58 | --- | wontfix |
firefox59 | --- | wontfix |
firefox60 | --- | wontfix |
firefox61 | --- | wontfix |
firefox62 | --- | wontfix |
firefox98 | --- | wontfix |
firefox99 | --- | wontfix |
firefox100 | --- | wontfix |
People
(Reporter: mks, Unassigned, Mentored)
References
(Regression, )
Details
(Keywords: perf, perf:pageload, regression)
Attachments
(2 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Updated•7 years ago
|
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Updated•7 years ago
|
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Reporter | ||
Comment 33•7 years ago
|
||
Updated•7 years ago
|
Comment 34•7 years ago
|
||
Comment 36•7 years ago
|
||
Updated•6 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 37•3 years ago
|
||
Set release status flags based on info from the regressing bug 929484
Updated•3 years ago
|
Comment 38•3 years ago
|
||
I suspect this is no longer an issue. Running this locally I see Firefox out performing Chrome:
Chrome v101: 644.05 tiles/second
Firefox v101: 1034.13 tiles/second
Time in JavaScript:
Chrome v101: 0.008 ms/tile
Firefox v101: 0.009 ms/tile
Time not in JavaScript:
Chrome v101: 1.543 ms/tile
Firefox v101: 0.957 ms/tile
Comment 39•3 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:dholbert, since the bug has recent activity, could you have a look please?
For more information, please visit auto_nag documentation.
Reporter | ||
Comment 40•3 years ago
|
||
I agree, the regression is basically resolved but somehow my high end PC running Firefox is slower (by a major factor) then my old iPhone 11 running this.
The high end, 3.2GHz Intel Xeon 2-socket, 8-cores per socket PC with Firefox 100.0.2:
78x134 maze size: total: 2.165 ms/tile : not-JS 2.147 ms/tile : JS 0.018 ms/tile
Same PC with Microsoft Edge version 101.0.1210.53:
78x134 maze size: total: 4.498 ms/tile : not-JS 4.514 ms/tile : JS 0.015 ms/tile
The iPhone 11 pro with standard browser (Safari)
78x134 maze size: total: 0.506 ms/tile : not-JS 0.496 ms/tile : JS 0.009 ms/tile
It is important to actually use the same maze size as the performance is not exactly linear with size.
This is with the fixed seed (so the benchmark mode)
It is great seeing Firefox twice the performance as Edge (which is based on Chromium)
It is sad to see that there is over 5x performance difference between the very powerful desktop machine and the nearly 3-year old iPhone.
Comment 41•3 years ago
|
||
(In reply to Michael Sinz from comment #40)
It is great seeing Firefox twice the performance as Edge (which is based on Chromium)
Resolving as WORKSFORME given that we're substantially better than the competition, in an apples-to-apples comparison (same hardware).
It is sad to see that there is over 5x performance difference between the very powerful desktop machine and the nearly 3-year old iPhone.
This would be interesting to investigate further, though it's hard to really draw any conclusions from, given the different OS/chipset/devicePixelRatio/etc.
(One thing to keep in mind: your desktop's "2-socket, 8-cores per socket" superpowers don't help at all on this single-page benchmark, since generally a website only has access to a single core [unless it's using worker threads].)
Reporter | ||
Comment 42•3 years ago
|
||
Believe me, I understand the many cores do not help the browser directly, but it helps in that the browser gets the full CPU core to itself and all other operations were the same.
As far as pixel ratio - the way I have the page set up, the number of pixels per cell are logically as I have the page do device resolution and my desktop is 1:1 in Windows. (I can show you similar results on the Mac, just don't have it here in the office.)
There was a time that the Firefox/Mozilla browser was under 2ms per tile at this size maze. But that was a very long time ago. Back then, the IE browser was in the crazy hundreds of ms per tile score (it was also all on older PC hardware, so the 2ms per tile was much more impressive)
When I get a chance, I will try this on my MacBookPro with its Core-i9 CPUs.
Reporter | ||
Comment 43•3 years ago
|
||
On the same machine - Late 2019 MacBookPro 16 BTO: Again, it is great that the regression in FireFox has been fixed. It had real impacts elsewhere.
Maze Complete (Table) [Firefox 99]
Maze size: 125 x 85 (10625 tiles)
94 ms in JavaScript 0.008 ms/tile
10168 ms not in JavaScript 0.956 ms/tile
10262 ms total time 0.965 ms/tile
1035.37 tiles per second 11 tiles/step
Maze Complete (Table) [Safari 15.4]
Maze size: 125 x 85 (10625 tiles)
84 ms in JavaScript 0.007 ms/tile
6571 ms not in JavaScript 0.618 ms/tile
6655 ms total time 0.626 ms/tile
1596.54 tiles per second 11 tiles/step
Comment 44•3 years ago
|
||
So we're still about 50% slower than safari on an x86 macbookpro
I imagine there are still some pending improvements like "* AssertDisplayItemData is slow - see bug 1331928 and bug 1377316."
As for Safari on iOS; sometimes people take shortcuts or take advantage of skipping some things due to the platform they're on. Hard to say without ability to look more closely at comparative profiles or the like (tough on a iPhone)
Updated•2 years ago
|
Description
•