Академический Документы
Профессиональный Документы
Культура Документы
@andydavies
http://www.ickr.com/photos/randomidea/247994072
http://www.ickr.com/photos/kindondie/4099768084
100ms 1s
10s
Abandonment rate over 200+ sites / 177+ million page views over 2 weeks - http://www.measureworks.nl / Gomez
$/
+1s - 2.8%
-1s
+2%
+12%
+25%
-50%
$$$
http://velocityconf.com/velocity2009/public/schedule/detail/7709
redirect, unload,
App, cache,
DNS,
TCP,
Request,
Response,
Processing,
onLoad,
http://www.w3.org/TR/navigation-timing/
Text
Visitors (%)
13%
8% 6%
8% 6% 2% 3% 3% 1%
10
Visitors (%)
13%
8% 6%
8% 6% 2% 3% 3% 1%
10
> 10
Synthetic Monitoring
3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 16 27 28 29 30 September 2012
Browser Plugins
YSlow
PageSpeed
webpagetest.org
mobitest.akamai.com
Backend Frontend
4 seconds!
news.bbc.co.uk tested via webpagetest.org throttled at 1.5Mbps (bursts over 1.5Mbps are artefact of testing)
3.11s
10
Bandwidth (Mbps)
Visualising TCP
Impact of Latency
20
40
60
80
100
120
140
160
180
200
220
240
Size
1 2 3 4 5 6 7 8 9 10 11
Round Trips
In 2012, the average worldwide RTT to Google is still ~100ms, and ~50-60ms within the US.
http://www.igvita.com/2012/07/19/latency-the-new-web-performance-bottleneck/
1s delay
1-2s delay!
CELL_DCH
Idle for 5s
Going Faster
http://www.ickr.com/photos/mikebaird/2464769129/
Bitmapped Images
JPEG
PNG
GIF
2 x Resolution = 4 x Pixels!
http://www.ickr.com/photos/roopaw/6985954465
Some Alternatives
CSS
SVG
Fonts
http://www.ickr.com/photos/adactio/6960610178
http://seesparkbox.com
http://www.ickr.com/photos/emzee/139794246
Standards support (picture? srcset?) is coming but unclear when! Meanwhile services such as sencha.io, resrc.it and JS libraries picturell.js, foresight.js can help.
http://www.ickr.com/photos/barteko/6128499314
Parallel Downloads
news.bbcimg.co.uk static.bbc.co.uk
Domain Sharding increases number of parallel downloads but more connections may not be a good idea on mobile may also interfere with multiplexing in protocols like SPDY
<script src=></script>
Until the script has executed, the rendering of all elements below is blocked!
Customer jcmm33 said: Same issue here as well, been like this all day. Sites like autotrader.co.uk dont appear to be accessible, others like the telegraph.co.uk are waiting on other components to download (content from sites like cg-global.maxymiser.com, pixel.quantserve.com).
http://www.ispreview.co.uk/index.php/2012/05/uk-virgin-media-broadband-isp-users-affected-by-website-routing-woes.html
http://bit.ly/Ncy7Rd
Optimise
Analyse
http://www.ickr.com/photos/safari_vacation/5961260280
http://www.ickr.com/photos/jurvetson/6212582593
http://www.ickr.com/photos/auntiep/5024494612
Credits
All photographs copyright original owners on ickr.com Following pictograms courtesy of The Noun Project