WofWca / jumpcutter

⏩ Fast-forwards long pauses between sentences — watch lectures ~1.5x faster (browser extension)
https://chrome.google.com/webstore/detail/jump-cutter/lmppdpldfpfdlipofacekcfleacbbncp
GNU Affero General Public License v3.0
356 stars 13 forks source link

fix: chart is jumpy in Gecko (Firefox) #131

Open WofWca opened 1 year ago

WofWca commented 1 year ago

It stutters 1 pixel many times per second. In Chromium it appears much smoother. Even when "Chart movement speed" is set to "Contant (real-time)".

What's very important is that it only happens in the popup, not in a separate page. So if I open /popup/popup.html in a tab, it doesn't stutter like that:

firefox-stutter.webm

Here's the code that I used to capture this recording: 7ffad1249c8a989cbefcc886c8479beed5711a8a (I removed most of the stuff and just left the Smoothie chart).

FYI my refresh rate is 60 FPS.

Might just have to do with higher RAF deviation in Gecko: https://www.testufo.com/animation-time-graph. Or maybe with reduced time precision (timing attack mitigation).