Web performance: beyond load testing

18
Web Performance: beyond load testing Sergey Chernyshev Technical Director Web Systems & Applications truTV Web Services, Turner January 27, 2012

Transcript of Web performance: beyond load testing

Page 1: Web performance: beyond load testing

Web Performance: beyond load testing

Sergey Chernyshev Technical Director Web Systems & Applications truTV Web Services, Turner

January 27, 2012

Page 2: Web performance: beyond load testing

NY Web Performance1250+ members 4400+ worldwide since May 2009

Page 3: Web performance: beyond load testing

Scalability & Performance

Page 4: Web performance: beyond load testing

What is Web Performance?

WPO improves the speed of web experience for each end user

It is NOT how many users a web site can serve (Scalability)

It is NOT how often a web site is down (Reliability)

Page 5: Web performance: beyond load testing

Scalability & Performance

Page 6: Web performance: beyond load testing

Why Web Performance?Increasing revenue vs. cost optimization

• Shopzilla +7-12% conversions! &

• +15% (+60M) downloads for Firefox. (-1 sec => +2.7% downloads)

• Slowness is sticky (Google and Microsoft)

• SEO: Google uses site's speed in ranking

Page 7: Web performance: beyond load testing

Abandonment Rate

How Loading Time Affects Your Bottom Line. KISSmetrics http://blog.kissmetrics.com/loading-time/

Page 8: Web performance: beyond load testing

Why Web Performance?User experience

"participants had to concentrate up to 50% more"

"greater agitation and stress"

"40% will go to a rival web site, 37% will abandon"Web Stress. A wake up call for European business. Foviance on behalf of CA

http://www.ca.com/Files/SupportingPieces/final_webstress_survey_report_229296.pdf

Web user connected to EEG

Page 9: Web performance: beyond load testing

Server Time vs. Browser Time88 requests, 6.344s only 0.968s on backend = just 15%

Page 10: Web performance: beyond load testing

151 requests, 6.3s, only 0.1s on backend - less then 2%

Server Time vs. Browser Time

Page 11: Web performance: beyond load testing

Page Statistics2003 2009

Average Web Page Size Quintuples Since 2003 Andrew King (websiteoptimization.com)

Size:

Objects:

507K64.7

93.7K

25.7

Page 12: Web performance: beyond load testing

Average Web Page Size Quintuples Since 2003 Andrew King (websiteoptimization.com)

Page 13: Web performance: beyond load testing

• Load Time: +0.533 s

• Time to first byte: +0.117 s

• Time to start render: +0.179 s

• Page Size: +48 KB

• Requests: +4

• Connections: +1

• DNS Lookups: +1

Page Statistics

Are pages getting faster? Patrick Meenan (webpagetest.org)

just 1 year (2010)

Page 14: Web performance: beyond load testing

Tools: Analysis• Yahoo's YSlow (best practices)

• Google Page Speed (best practices)

• WebPageTest (web based waterfalls and more)

• dynaTrace AJAX Edition

• REDbot (HTTP caching)

• DOM Monster (DOM analysis)

• *HAR format (HTTP data format)

Page 15: Web performance: beyond load testing

Tools: Monitoring• ShowSlow (basic metrics and best practices)

• WebPageTest + ShowSlow ("geo" testing)

• Boomerang, Newrelic (RUM)

• Catchpoint

• Keynote, Gomez

Page 16: Web performance: beyond load testing

Tools: Optimization

• SVN-Assets

• JSMin, Closure Compiler

• CSSLint

• SpriteMe, imgmin, JPEGmini

Dev tools

• mod_pagespeed

• Yottaa

• Strangeloop

• Torbit

• Google Page Speed service

WPO automation

Page 17: Web performance: beyond load testing

Add Web Performance

to your SLAs!

Page 18: Web performance: beyond load testing

Q & A

Email: [email protected]

@SergeyChe

@PerfPlanet

URL: http://meetup.com/Web-Performance-NY/