Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Browser Rendering & Performance
Search
Drew Powers
February 28, 2018
0
45
Browser Rendering & Performance
Lunch & Learn (28 Feb 2018)
https://www.youtube.com/watch?v=l03FMI5PjS0
Drew Powers
February 28, 2018
Tweet
Share
More Decks by Drew Powers
See All by Drew Powers
Styling in React
dangodev
0
30
Styling Systems in React
dangodev
0
53
Virtual & Augmented Reality
dangodev
0
99
Design of the Web (2017)
dangodev
0
71
The Science of Font Selection
dangodev
2
480
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
The Cult of Friendly URLs
andyhume
79
6.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Context Engineering - Making Every Token Count
addyosmani
8
310
Transcript
BROWSER RENDERING AND PERFORM- ANCE BROWSER RENDERING AND PERFORM- ANCE
None
PREFACE: SHOUTS TO FIREFOX PREFACE: SHOUTS TO FIREFOX
webpack.js.org
01. NETWORK TAB 01. NETWORK TAB
dashboard.manifold.co Image Optimization
01. NETWORK TAB G O A L No cartoonishly large/slow
requests, and images are reasonably-sized
None
02. PERF TAB 02. PERF TAB
dashboard.manifold.co* Addy Osmani: The Cost of JS * local dev
Airbnb: React Performance Google: The RAIL model
02. PERF TAB G O A L Interactive in 2s,
and each interaction takes 100ms
03. RENDER PANEL 03. RENDER PANEL
Smashing Mag: Compositing 60FPS CSS Animations
03. RENDER PANEL G O A L Keep it at
60FPS
04. ANIMATING 04. ANIMATING
Material Design: Easing Nintendo Switch Loading
04. ANIMATING G O A L Find that sweet spot
between “smooth” and “sluggish”
NETWORK Identify large/slow requests PERF Interactive up front, interactive all
the way through RENDERING Keeping it at 60FPS ANIMATING The user experiences everything; make it look good G O A L S
TIME’S UP!