Open
Bug 1871704
Opened 6 months ago
Updated 5 months ago
JS demo (https://www.fxhash.xyz/generative/221020 ) is 50% slower in Nightly
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug, )
Details
Go to https://www.fxhash.xyz/generative/22102
Chrome: https://share.firefox.dev/3GSox4W (16s)
Nightly: https://share.firefox.dev/3GUOVv3 (25s)
Comment 1•5 months ago
|
||
Taking a quick look at this, we are spending a bunch of time in array_push, and our hottest JS function (buildNonNativeLine) has dozens of calls to Array.prototype.push with more than one argument. We only optimize the one-argument case in CacheIR.
With a bit of work we could add CacheIR support for two-argument array_push (although it might require some ugly register juggling on 32-bit x86). I'm not sure how useful that would be outside of this testcase, though. I also doubt it would get us to parity here.
Updated•5 months ago
|
Severity: -- → N/A
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•