Open
Bug 1985815
Opened 1 year ago
Updated 1 month ago
Modified demo at https://grelf.net/caves/cavemap.html is 2.2x slower in Firefox (spending time in sin/cos?)
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 2 open bugs, )
Details
Attachments
(1 file)
|
5.04 KB,
text/html
|
Details |
Open the attached HTML file (Original unmodified demo is at https://grelf.net/caves/cavemap.html)
I have just made teh wd and ht variables 10x bigger.
Firefox: https://share.firefox.dev/4p2dZFq (8.5s)
Chrome: https://share.firefox.dev/4mVM2O9 (2.7s)
Comment 1•1 year ago
|
||
For the most part this is overhead due to missing inlining. When running in the shell with --small-function-length=300 to ensure isCaveOpen can get inlined, we're about two times faster. We also don't seem to inline Math.round when the output is a Double (bug 1986239).
| Reporter | ||
Updated•1 year ago
|
Blocks: sm-inlining
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P3
| Reporter | ||
Comment 2•1 year ago
|
||
Profile with latest nightly: https://share.firefox.dev/4oUvIhM (7s)
| Reporter | ||
Comment 3•1 month ago
|
||
Profile: https://share.firefox.dev/4g91hST (7s)
You need to log in
before you can comment on or make changes to this bug.
Description
•