3 ms·
Indeed, it ran at a good 40-50fps for me. Looking closer at the requestAnimationFrame callbacks, most frames required under 16ms, but every 20th frame required
by tantalor 13y ago
Indeed, it ran at a good 40-50fps for me.
Looking closer at the requestAnimationFrame callbacks, most frames required under 16ms, but every 20th frame required 120ms or more. Eliminate that slow frame and the game should have no problem reaching 60fps.
(I used https://chrome.google.com/webstore/detail/web-tracing-framework/gmdhhnlkjmknaopofnadmoamhmnlicme https://chrome.google.com/webstore/detail/web-tracing-framew... to get this).