Codepen demo (https://codepen.io/Mertl/full/GRJOgjL ) is slower than Chrome
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug)
Details
Go to https://codepen.io/Mertl/full/GRJOgjL
https://share.firefox.dev/3VO71EN
Chrome is visually much more smooth.
Comment 1•2 years ago
|
||
This one doesn't load for me?
Based on the profile they're using scripted getters on the global I think. I can try to write a patch to optimize that similar to native getters, but it would be nice to verify.
Reporter | ||
Comment 2•2 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #1)
This one doesn't load for me?
To load the page, do a full/force reload (Ctrl+shift+r). See bug 1800575
Comment 3•2 years ago
|
||
(In reply to Mayank Bansal from comment #2)
To load the page, do a full/force reload (Ctrl+shift+r). See bug 1800575
Thanks! That fixed it.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Mayank, did bug 1805199 improve this bug and bug 1805612 for you?
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 5•2 years ago
|
||
Profile with latest Nightly: https://share.firefox.dev/3Yu6p9c
Reporter | ||
Comment 6•2 years ago
|
||
Chrome is visually smoother
Comment 7•2 years ago
|
||
Does setting javascript.options.use_fdlibm_for_sin_cos_tan = true
make any difference for you? We seem to spend a fair amount of time in cos
.
This looks pretty smooth for me on Mac and based on the profile we fixed the lowest-hanging fruit. It will be easier to analyze this more when we have JIT code information in the profiler, hopefully soon.
Reporter | ||
Comment 8•2 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #7)
Does setting
javascript.options.use_fdlibm_for_sin_cos_tan = true
make any difference for you? We seem to spend a fair amount of time incos
.
Profile: https://share.firefox.dev/3FBTIAu
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 9•6 months ago
|
||
Description
•