Web performance optimization
Dudayev Denis
What I will talk
• Why we should care about performance?
• What we should use?
• How to add performance to your workflow?
Why we should care about
performance?
“If it is fast and ugly,
they will use it and curse you,
if it is slow, they will no...
Performance evaluation parameters
• Server side
– Time of rendering page
– Count of requests in second
– Amount of data tr...
Performance profiling areas
• Client side
– Request
– Downloading
– Rendering
• Server side
– Response
– Algorithm
– Memor...
Requirements for performance
• What are we going to test? (goals)
• Setup requirements:
– TTFB andor TTLB
– RPS + number o...
Anatomy of a web page
• DNS resolution
• TCP connection
• Send request
• Wait for response
• Download response
• Parse (DO...
Introduce to load testing
• Performance testing
• Capacity testing
• Testing to stress the system or find its limits
• Loa...
Testing plan
• Create a test scenario
• Setup the test
• Performing the test
• Analysis of results
Load testing tools
• Free/Open source
– JMeter (Apache)
– LoadUI (SmartBear)
– etc.
• Commercial
– LoadRunner (HP)
– WebLO...
We chosen JMeter
• It has a respect
• It free and open source
• It has big community
• We made the first easy demo project...
JMeter Demo
Profiling
• VS Performance Analyzer (MS)
• dotTRACE (JetBrains)
• ANTS Performance Profiler (Redgate)
• SQL Server Profile...
How to add performance to your
workflow?
• Reasons (e.g. POQA is unsatisfied)
• We have available time and near no a relea...
Website performance optimization QA
Upcoming SlideShare
Loading in …5
×

Website performance optimization QA

488 views

Published on

Published in: Engineering, Technology
  • Be the first to comment

  • Be the first to like this

Website performance optimization QA

  1. 1. Web performance optimization Dudayev Denis
  2. 2. What I will talk • Why we should care about performance? • What we should use? • How to add performance to your workflow?
  3. 3. Why we should care about performance? “If it is fast and ugly, they will use it and curse you, if it is slow, they will not use it.” “Professor Billionaire“ Devid Cheriton
  4. 4. Performance evaluation parameters • Server side – Time of rendering page – Count of requests in second – Amount of data transmitted • Client side – Page processing on the client – Downloading content time – Awaiting time
  5. 5. Performance profiling areas • Client side – Request – Downloading – Rendering • Server side – Response – Algorithm – Memory – SQL Server
  6. 6. Requirements for performance • What are we going to test? (goals) • Setup requirements: – TTFB andor TTLB – RPS + number of users – Frequency of references to external resources (database, other services, etc.) – etc.
  7. 7. Anatomy of a web page • DNS resolution • TCP connection • Send request • Wait for response • Download response • Parse (DOM, CSSOM) • Execute JS/Apply CSS • Render Network Server Client
  8. 8. Introduce to load testing • Performance testing • Capacity testing • Testing to stress the system or find its limits • Load testing • etc
  9. 9. Testing plan • Create a test scenario • Setup the test • Performing the test • Analysis of results
  10. 10. Load testing tools • Free/Open source – JMeter (Apache) – LoadUI (SmartBear) – etc. • Commercial – LoadRunner (HP) – WebLOAD – etc.
  11. 11. We chosen JMeter • It has a respect • It free and open source • It has big community • We made the first easy demo project • We have support
  12. 12. JMeter Demo
  13. 13. Profiling • VS Performance Analyzer (MS) • dotTRACE (JetBrains) • ANTS Performance Profiler (Redgate) • SQL Server Profiler • etc.
  14. 14. How to add performance to your workflow? • Reasons (e.g. POQA is unsatisfied) • We have available time and near no a release • Prepare for battle Process: Searching for dips -> Fixing step by step

×