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
55
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Browser Rendering & Performance
Lunch & Learn (28 Feb 2018)
https://www.youtube.com/watch?v=l03FMI5PjS0
Drew Powers
February 28, 2018
More Decks by Drew Powers
See All by Drew Powers
Styling in React
dangodev
0
49
Styling Systems in React
dangodev
0
65
Virtual & Augmented Reality
dangodev
0
120
Design of the Web (2017)
dangodev
0
93
The Science of Font Selection
dangodev
2
500
Featured
See All Featured
Everyday Curiosity
cassininazir
0
260
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
530
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
180
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
630
Visualization
eitanlees
152
17k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
390
Agile that works and the tools we love
rasmusluckow
331
22k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
310
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Navigating Team Friction
lara
192
16k
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!