-
Notifications
You must be signed in to change notification settings - Fork 49
Description
I don't know anything about F.LF's code, I'm just creating this ticket after some reading.
-
F.LF is performing bad in Firefox since version 55 (mid 2017!), at least on Windows machines:
https://bugzilla.mozilla.org/show_bug.cgi?id=1683560 -
It seems that 1 is a thing because "the game relies on
setTimeoutsetInterval for precise frame scheduling. This is not a good idea in general, because by default, the timer resolution on Windows is really bad". Source:
https://bugzilla.mozilla.org/show_bug.cgi?id=1683560#c5 -
If Chromium (Blink) based browsers handles this well, Firefox must fix this, of course. But the point made in 2 may still be valid for optimization. Maybe you can get something from here:
https://stackoverflow.com/questions/196027/is-there-a-more-accurate-way-to-create-a-javascript-timer-than-settimeout