~/talk

Smooth Moves: Rendering at the Speed of Right ®

Talkat Chrome Dev Summit 2018 · on Monday, 2018-11-12· [web-performance, frontend-architecture]
slides:none on file

A chat app for cats gets refactored to reach 60fps on low-end hardware (measured on a Nexus 5 and with a sub-$100 target). DevTools features used include the rendering panel, Layers, Performance Monitor and Lighthouse. Concrete wins: replace box-shadow paints with a pseudo-element whose opacity is animated (composited), avoid animating layout, follow RAIL (50 ms response guideline; ~10 ms JS + 6 ms browser per frame), favor requestIdleCallback, position:sticky and CSS scroll-snap; result is far less main-thread paint and smoother input.

AI-written summary · about

  1. 0:00Introduction
  2. 0:31Chat App
  3. 1:01Design
  4. 2:15Smooth
  5. 2:37Smoothness
  6. 2:58Illusion of Motion
  7. 3:43What is Smoothness
  8. 4:03User Experience
  9. 4:14Statistics
  10. 4:25Study
  11. 4:48Rails Goals
  12. 6:19Response Metric
  13. 7:39RNA IRL
  14. 8:12Smooth everywhere
  15. 8:23Measure
  16. 9:59Business Time
  17. 10:26Animations
  18. 10:42HTML
  19. 11:22Position Calculation
  20. 11:52Skia
  21. 12:19Composite
  22. 12:34Page Updates
  23. 14:23Send Button
  24. 14:56Composited Animation
  25. 15:28Paint Animation
  26. 16:13Why this is good
  27. 16:31Dont animate MaxLite
  28. 17:01Reading and Writing
  29. 17:18Rendering Assembly Line
  30. 17:43Anatomy of a Frame
  31. 18:06DOM Layout
  32. 20:59Smooth Moves
  33. 22:19Measuring Smoothness
  34. 22:40Position Sticky
  35. 23:03Scroll Smooth
  36. 23:26Message Smooth
  37. 23:48Panning
  38. 24:35Carousel
  39. 25:09ScrollSnaps
  40. 25:30Bounce
  41. 25:51Summary
~/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.