Escolar Documentos
Profissional Documentos
Cultura Documentos
(http://bit.ly/8YB3ET )
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 5
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 6
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 7
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 8
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 9
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 10
Impact of page load time on average daily
searches per user
0.00%
-0.10%
-0.20%
-0.30%
-0.40%
-0.50%
-0.60%
-0.70%
0.00%
-0.50%
-1.00%
-1.50%
-2.00%
-2.50%
-3.00%
-3.50%
-4.00%
-4.50%
-5.00%
50 200 500 1000 2000
Added delay
Ylsow from
• Frontend:
Shorthand for everything after the HTML document arrives.
In reality, includes backend time (primarily reading static
files) and network time, as well as true frontend activities
such as parsing HTML, CSS, and JS, and executing JS.
400
49.92 312.05 50
300
40
200 25.7 30
20
100 93.7
2.3
14.1 10
0
0
Waterfall chart
35
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 35
Waterfall chart
HTML
36
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 36
Waterfall chart
HTML
Resources
37
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 37
Waterfall chart
Start Document Fully
Render Complete Loaded
38
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 38
Waterfall component breakdown
DNS lookup
DNS Lookup
39
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 39
Waterfall component breakdown
TCP
Connection
TCP Connection
• 3 packets
- ClientServer (SYN)
- ServerClient (SYN/ACK)
- ClientServer (ACK)
40
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 40
Waterfall component breakdown
Time To First
Byte
Time to First Byte
41
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 41
Waterfall component breakdown
Content
Download
Download
42
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 42
Let’s Accelerate
The unsuspecting victim
http://bit.ly/au01VY /
97 Connections
(almost one per request)
By Type By Domain
• www.browserscope.org
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 58
Performance Problems
• Too many connections (too much orange)
• Too many bytes (too much blue)
• Concurrency
• Bad Caching for repeat views
Validation
80 Requests 78 Requests
27 Requests
14 Requests
Level
Level
97
Connections
http://bit.ly/cKkjGz
© 2010 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 84
Before and After
~17.8sec ~10.5sec
97 Connections 19 Connections
KA+Comp
Improvement
First View 52% 40% 34% 31% 23%
Original
KA+Comp
~6.2sec
http://bit.ly/aCP3iX
~2.0sec
~6.2sec
Improvement
Repeat View 70% 67% 42%
http://bit.ly/a9ZJcF
~10.5sec ~8.3sec
+CDN
Improvement
First View 21% 22% 17%
http://bit.ly/bbT3v4
~3.8sec
~8.3sec
81 107
+Strangeloop
11 37
Improvement
First View 19% 54% 45% 30% 31%
fast by default
Conversion
? ? ?
3.8 Seconds
11 Roundtrips
Jim Benedetto
MySpace Vice President
Technology