No Ion on ARM64 makes asm.js very slow
Categories
(Core :: JavaScript Engine: JIT, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox65 | --- | wontfix |
firefox66 | --- | fix-optional |
People
(Reporter: lth, Assigned: lth)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [arm64:m3])
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Setting P2, as this is not one of the first priority of ARM64 port, but we do not want to leave this question unanswer for too long either.
Comment 9•5 years ago
|
||
Lars, is asm.js perf still an issue on ARM64 now that we've shipped ARM64 Ion?
I'm wondering when we can re-enable the Unity WebGL tests on ARM64 (bug 1518882).
Comment 10•5 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #9)
[…] now that we've shipped ARM64 Ion?
We have shipped ARM64 Ion?
AFAIK, It is enabled only on Firefox 68 beta & nightly and nothing more.
Also, my understanding is that we basically have highly limited number of users on ARM64 until we release Fenix with ARM64 enabled, and move Firefox for Android population over to Fenix.
Comment 11•5 years ago
|
||
We're shipping native ARM64 builds of Fennec via Google Play as of Fennec 68. We're also shipping Windows AArch64 builds, though I'm not sure how officially-supported those are yet.
Assignee | ||
Comment 12•5 years ago
|
||
Chris, ion-on-ARM64 can only compile asm.js as JS and that is known to generate slower code than the asm.js pipeline through wasm+ion. See comment 6, which guesses that asm.js through js+ion is 3x slower than wasm+ion.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 14•3 years ago
|
||
Go to https://wellcaffeinated.net/demos/asm-js-physics.html with default setting on an m1, set the number of particles to 600, observe the performance for a little while.
In about:config, set javascript.options.asmjs to false. Reload the test page, make sure the number of particles is still 600, observe that the animation is (somewhat) slower.
Conclusion: asmjs beats ion-compiled JS.
Description
•