Nightly is slower than Chrome on a Codepen demo (https://codepen.io/MittenedWatchmaker/pen/MQOeeb )
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: mayankleoboy1, Assigned: anba)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files)
Go to https://codepen.io/MittenedWatchmaker/pen/MQOeeb
Set the number of particles to 5120 and then 10240
Clcik on restart
5120 particles:
Nightly: https://share.firefox.dev/46U97ru (15s)
Chrome: https://share.firefox.dev/3GLpLPs (11s)
10240 particles:
Nightly: https://share.firefox.dev/3Nt8u1d (36s)
Chrome: https://share.firefox.dev/3tg7PJH (23s)
Profiles are all in ion and appear to highlight some of the know areas. Feel free to dupe to other older bugs.
Comment 1•1 year ago
|
||
A lot of time under IonBinaryArithIC
for a slow multiplication. Looking at the profile, at least one side may be a string value.
Assignee | ||
Comment 2•1 year ago
|
||
Add tryAttachStringNumberArith
based on the existing code for
tryAttachStringInt32Arith
.
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
This prevents to incorrectly apply the StringInt32Arith IC for a case like 10 * "0.5"
:
- The non-string operand is an int32.
- The result is int32.
- But the string operand can't be converted to an int32, so
guardStringToInt32
will always fail.
Depends on D196714
Updated•1 year ago
|
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d24288f150bf
https://hg.mozilla.org/mozilla-central/rev/c892e00c62db
Reporter | ||
Comment 6•1 year ago
•
|
||
Latest Nightly:
5102 particles: https://share.firefox.dev/3tEUg6V (1.7s)
10240 particles: https://share.firefox.dev/3TVSRTX (4.5s)
I'd say there is a 9x-10x improvement here. Pretty nice!
Assignee | ||
Comment 7•1 year ago
|
||
(In reply to Mayank Bansal from comment #6)
I'd say there is a 9x-10x improvement here. Pretty nice!
Thanks for confirming the updates!
Description
•