26
Speed: Web Peformance Matters Deepti Bhutani

Web performance Speed matters

Embed Size (px)

Citation preview

Page 1: Web performance Speed matters

Speed: Web Peformance MattersDeepti Bhutani

Page 2: Web performance Speed matters
Page 3: Web performance Speed matters
Page 4: Web performance Speed matters
Page 5: Web performance Speed matters
Page 6: Web performance Speed matters

Mobile Performance

Page 7: Web performance Speed matters

How the Web Works

Page 8: Web performance Speed matters

How the Web Works

HTML

CSS

Java

Scrip

tImages

DNS

SSLMobile

Page 9: Web performance Speed matters
Page 10: Web performance Speed matters

Web Performance Tools

Page 11: Web performance Speed matters

Waterfall Analysis techniques Metrics

• First Byte• First Paint• On Load (TTI)• Page Complete

• Navigation Timing Model• http://www.w3.org/TR/navigation-timing/#processing-model

Page 12: Web performance Speed matters

Web Performance Tool Box Profiling Tools

• WebPageTest • FireBug• Chrome Developer Tools• Yslow• Google PageSpeed

Performance Practices Checklist • http://webdevchecklist.com/

Page 13: Web performance Speed matters

Web Performance Monitoring Synthetic Monitoring

• Keynote• Gomez• WebPageTest Local

Real User Monitoring• Akamai RUM• AppDynamics EUM

Page 14: Web performance Speed matters

Synthetic Monitoring

• Is my site up?• How fast is my site?• Are transactions working?• If there is a slow down or failure where is it in the infrastructure?• Are my third party components operating correctly?

• How is my overall performance?

Page 15: Web performance Speed matters
Page 16: Web performance Speed matters

RUM

• What are users actually doing on the site-traffic flow?• What is the performance of the pages, and which

components are slowest?• Are SLA’s met ?• Did my latest release affect the user experience?• How does the user experience tie back to other areas of the

company such as support?

Page 17: Web performance Speed matters

Synthetic vs Real User Monitoring

Features Synthetic Monitoring

Real User Monitoring

Test a new feature before deploying to prod Ensure application is up and running 24/7

Test the performance on a new market/geographyMonitor web third party APIs

Determine the impact of slowness or failure on real users Resolve support issues

Monitor Transactional Performance

API performance

Monitor all traffic /real users

Page 18: Web performance Speed matters
Page 19: Web performance Speed matters

Performance Optimizations• Fewer Requests• Smaller Requests

• Image compression • Reduce network Round trips• AJAX requests

• Caching• Leverage Browser Caching • CDN Caching (Akamai)

• Optimize Browser Processing• Optimize JavaScript• Analyze front end rendering • Optimize DOM

Page 20: Web performance Speed matters
Page 21: Web performance Speed matters

PNG24Size: 512 KBColors: 148,279

PNG24Size: 188 KBColors: 256

63% smaller

Image Optimizations

Page 22: Web performance Speed matters

Smaller Images

PNG24100 x 100Size: 19 KBColors: 9,138

PNG8100 x 100Size: 8 KBColors: 256

55.8% smaller

Page 23: Web performance Speed matters

90% Savings!!!

PNG24320 x 568Size: 100 KB

JPEG320 x 568Size: 10 KB

Image Formats

Page 24: Web performance Speed matters

Mobile Performance Challenges

Books Web

Page 25: Web performance Speed matters
Page 26: Web performance Speed matters

Other Resources• Books

• High Performance Web Sites – Steve Souders – O’Reilly• Even Faster Web Sites – Steve Souders – O’Reilly

• Web• HTTP Archive (http://httparchive.org/)• Web Page Test (http://www.webpagetest.org/)