SlideShare a Scribd company logo
TheWebWeWeave
HowWebDevelopersthinkaboutPerformance
Oliver Tse
October 29, 2015
WhoAmI?
OliverTse
WebDeveloper
MainObjective
Seriously…whenyouwalkout…grok/do
● Performance is more about rendering than page load
● Use Webpagetest and Chrome’s Timeline to improve
performance
● Optimize areas where changes are large enough to be
noticeable
Whatwe’lltalkabout
1. Speed!
2. “Client Render Time”
3. Page load. It isn’t what you think.
4. Enter Patrick Meenan
5. Get. Do.
6. Page load redux
7. All together now
8. Best practices don’t guarantee best optimizations
1
Speed!
What’sFast?
"Speed.Iamspeed... Fasterthanfast,quickerthanquick."
-LightningMcQueen
Speedisalwaysabouttime
*Objectivetime
Howmuchtime*
doesittaketodosomething?
Howfastcanthefastestjetfly?
TheSR-71takes64minutestoflyfromLosAngelesto
Washington,DC.
1. That’s2,300miles.
2. That’s2,145MPHFast.
Howlongdoesittaketo...
● Getfirstbyte?
● loadapage?
● Render?
● Paint?
● Etc.
2
“ClientRenderTime”
what’sthatbigbluebar?
Definition
Found on go/speedhelp
client_render_time: from
receiving first byte of
base page html data to
page onload (loadEventEnd
- responseStart)
Fromw3c
Fromme
3
Pageload.Itisn’twhat
youthink.
Hypothesis
pageloaded*
==CompletePage
*PageLoadeventfires
So,atPageLoadweseethecompletepage. Yeah!
Nope
Youactuallyseethis
Orthis
Orworse
Orevenworse
Why?
Pageloadisallmostlyaboutdownloadingstuff*
● JavaScript
● Images
● Fonts
● HTML
● CSS
● etc.
*stuff==“assets”
It’snotpagecomplete
It’sallaboutrendering
4
EnterPatrick
Meenan
2008
Patrick(andAOL)giveusWebpagetest
Performanceishowmuch,howfastandwhenapagerenders
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
Newmetric!
“Speedindex”
SpeedIndex
The average time at which
visible parts of the page
are displayed
The Web We Weave :: How Web Developers Think About Performance
5
Get.Do.
Usethenetworktogetstuff
Usethemainthreadtodostuff
Yourbrowserusesasinglethreadto
● paint
● render
● execute JavaScript
Thisiscalledthe“Mainthreadofexecution”
Together,thenetworkandthethreadlooklikethis
Voyager
AndHomepage
AndConnectHub
AndGuestHomepage
Thatwasalotofstuff!
ChromeDevToolsTimeline
talkaboutthemtogether.
Butfirst..
6
Pageloadredux
“window.onloadisnotthebestmetricformeasuringwebsitespeed”
- SteveSouders
Whatgoodispageload?
WebDevelopersusepageloadasoneofthreemarkers*
*
pageevents
Thethreemarkers
1. First paint
2. DOMContentLoaded
3. Page load
FirstPaint
firstvisiblerenderingofthepage
DOMContentLoaded
CSSOMandDOMarereadyand…
allsynchronousJavaScriptexecuted
PageLoad
Allassetsdownloaded(withoutaidofJavaScript)
Ateachmarker,weask
whatandhowmuchisrendered
7
Alltogethernow
Let’slookatConnectHub
(withalittlehelpfromVoyagerweb)
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
Noticeplateaus
The Web We Weave :: How Web Developers Think About Performance
Plateausarecausedbyactivitiesinthemainthread andin
assetsdownloading
Thebrowserisdoingwork,
butnorendering,nopainting
Userseesnochange
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
55%ofthemainthreaddisplaystwoads
The Web We Weave :: How Web Developers Think About Performance
8
Bestpracticesdon’t
guaranteebest
optimizations
IlyaGrigorik
SteveSouders
LinkedInsite-speedexperts
Followbestpracticesor,
badthingswillhappen.
whereyouapplybestpracticesisimportant
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
The Web We Weave :: How Web Developers Think About Performance
WithoutJavaScript,faster
● First paint by 25%
● DOMContentLoaded by 45%
● Page load by 23%
● Speed Index by 30% ( from 2.0s to 1.4s )
whatdoyouoptimize?
Optimizeforthemostimpact
TheWeber-FechnerLaw
“Inorderforuserstobarelyseeadifferenceintime
duration,ithastobechangedbyaminimumof20%”
ThankYou!
Haveaniceday!
Questions?
Resources
http://www.smashingmagazine.com/2015/09/why-performance-matters-the-perception-of-time/
http://www.stevesouders.com/blog/2013/05/13/moving-beyond-window-onload/
PerfShopTalk(go/perfshoptalk)

More Related Content

PDF
The Shape of Speed
PDF
Work smart with Gutenberg - Fellyph Cintra
PDF
Modern Messaging for Distributed Systems
PPTX
Node Primer
PPTX
Website Speed :: Fox Valley Computing Professionals, September 2014
PDF
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
PDF
Why you should embrace Gradle and ditch Maven
PDF
Serverless? How (not) to develop, deploy and operate serverless applications.
The Shape of Speed
Work smart with Gutenberg - Fellyph Cintra
Modern Messaging for Distributed Systems
Node Primer
Website Speed :: Fox Valley Computing Professionals, September 2014
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Why you should embrace Gradle and ditch Maven
Serverless? How (not) to develop, deploy and operate serverless applications.

What's hot (20)

PDF
Grunt js and WordPress
PDF
What happens after react?
PDF
Continuous operations in AWS
PDF
Reactjs workshop (1)
PDF
How fast can you onboard a new team member with VAGRANT ?
PDF
Benchmarking MongoDB for Fame and Fortune
PPT
No more script tag soup!
PDF
Madison PHP 2015 - DevOps For Small Teams
PDF
NodeSummit - MEAN Stack
PDF
Yeoman + Grunt + Bower - Google I/O Rewind Sri Lanka
PDF
Easy way to begin Computational Fluid Dynamics on Cloud
PPTX
Provisioning Environments, a simplistic approach
PPTX
The JAMStack (Javascript, APIs, Markup).
PDF
Overview of Redux
PDF
Ipython notebook
PDF
html5 & phonegap
PDF
BBC's GraphDB (formerly Owlim) AWS Cloud Migration
KEY
Yakiniku on the Cloud
PDF
Deploying Rails on EC2 using Rubber (Slides Only)
PDF
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
Grunt js and WordPress
What happens after react?
Continuous operations in AWS
Reactjs workshop (1)
How fast can you onboard a new team member with VAGRANT ?
Benchmarking MongoDB for Fame and Fortune
No more script tag soup!
Madison PHP 2015 - DevOps For Small Teams
NodeSummit - MEAN Stack
Yeoman + Grunt + Bower - Google I/O Rewind Sri Lanka
Easy way to begin Computational Fluid Dynamics on Cloud
Provisioning Environments, a simplistic approach
The JAMStack (Javascript, APIs, Markup).
Overview of Redux
Ipython notebook
html5 & phonegap
BBC's GraphDB (formerly Owlim) AWS Cloud Migration
Yakiniku on the Cloud
Deploying Rails on EC2 using Rubber (Slides Only)
7 recomendaciones para migrar tus aplicaciones a Jakarta EE utilizando Apache...
Ad

Similar to The Web We Weave :: How Web Developers Think About Performance (20)

PDF
Web Performance & You - HighEdWeb Arkansas Version
PPTX
Page Speed Insights: The Ballad of Improving Performance
PDF
Scalability vs. Performance
PDF
MeasureWorks - Why people hate to wait for your website to load (and how to f...
PPTX
Optimizing your WordPress website
KEY
Windycityrails page performance
ODP
Cvcc performance tuning
PPT
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
KEY
improving the performance of Rails web Applications
PPTX
Open source load testing
PDF
Speed in Four Quarters :: A Technique to Compare Web Page Performance
PDF
Improving frontend performance
PPTX
Top ten secret weapons for performance testing in an agile environment
PPTX
A Modern Approach to Performance Monitoring
PPT
Windy cityrails performance_tuning
PPT
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
PPT
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
PDF
WordPress Theme Performance - WP Vienna meetup 8.6.2016
PDF
Edge 2014: A Modern Approach to Performance Monitoring
PDF
Don't lose revenue. Go viral with no downtime.
Web Performance & You - HighEdWeb Arkansas Version
Page Speed Insights: The Ballad of Improving Performance
Scalability vs. Performance
MeasureWorks - Why people hate to wait for your website to load (and how to f...
Optimizing your WordPress website
Windycityrails page performance
Cvcc performance tuning
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
improving the performance of Rails web Applications
Open source load testing
Speed in Four Quarters :: A Technique to Compare Web Page Performance
Improving frontend performance
Top ten secret weapons for performance testing in an agile environment
A Modern Approach to Performance Monitoring
Windy cityrails performance_tuning
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
Keys To World-Class Retail Web Performance - Expert tips for holiday web read...
WordPress Theme Performance - WP Vienna meetup 8.6.2016
Edge 2014: A Modern Approach to Performance Monitoring
Don't lose revenue. Go viral with no downtime.
Ad

Recently uploaded (20)

PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Introduction to Artificial Intelligence
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
top salesforce developer skills in 2025.pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
System and Network Administraation Chapter 3
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Reimagine Home Health with the Power of Agentic AI​
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Introduction to Artificial Intelligence
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Operating system designcfffgfgggggggvggggggggg
Which alternative to Crystal Reports is best for small or large businesses.pdf
Digital Strategies for Manufacturing Companies
Softaken Excel to vCard Converter Software.pdf
Understanding Forklifts - TECH EHS Solution
PTS Company Brochure 2025 (1).pdf.......
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
top salesforce developer skills in 2025.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
System and Network Administraation Chapter 3
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025

The Web We Weave :: How Web Developers Think About Performance