~/talk

High Refresh Web

TalkinRussianat HolyJS 2022 Autumn · 2022-11-10..11-20· [web-performance, web-platform]
links:none on file
slides:none on file

Browsers invoke requestAnimationFrame on every display refresh, so high-refresh screens (120 Hz, 360 Hz) increase rAF ticks and can break animations that assume 60 Hz. The talk presents fixes: scale by delta/16ms, prefer CSS animations when duration is fixed, implement FPS capping to a divisor of the display rate or switch to elapsed-time–based animations, detect refresh rate by sampling rAF and use performance.now. A 3D web map engine example shows switching to time-based animation and rAF sampling stabilizes motion across 60/120/360 Hz displays.

AI-written summary · about

  1. 0:00Introduction
  2. 2:362GIS project overview
  3. 4:24Hertz vs refresh rate
  4. 8:18High refresh monitors
  5. 11:14High refresh in browsers
  6. 13:22requestAnimationFrame purpose
  7. 19:09Fixing frame rate issues
  8. 27:03FPS and frame pacing
  9. 31:46Detecting refresh rate
  10. 33:10Summary for devs
  11. 41:54Q&A
  12. 51:15Q&A
  13. 59:50Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.