Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to test performance and not die trying

How to test performance and not die trying

Presentation on web performance testing.
Presented at www.testing.uy

Diego Cardozo

April 27, 2016
Tweet

More Decks by Diego Cardozo

Other Decks in Programming

Transcript

  1. HOW TO TEST HOW TO TEST PERFORMANCE PERFORMANCE AND NOT

    DIE TRYING AND NOT DIE TRYING Diego Cardozo Diego Cardozo Sr. Web Performance Engineer Sr. Web Performance Engineer @NetSuite @diecard @NetSuite @diecard
  2. Agenda Agenda Why it matters Why it matters What to

    test What to test How to test How to test
  3. Why it matters Why it matters Why is performance important

    for our business? : 2% slower = 2% less searches/user : 400 ms faster = 9% more traffic : 100ms faster = 1% more revenue : 5s faster 25% more site visits 7 to 12% more revenue takes load times into account when ranking a site Google Yahoo Amazon Shopzilla Google
  4. Why it matters Why it matters Why is performance important

    for ourselves? "The best part about performance "The best part about performance testing is how much you learn about testing is how much you learn about technology in general" technology in general"
  5. What to test What to test What should we measure?

    Response times and speed Response times and speed How much load we can handle How much load we can handle How the system behaves How the system behaves
  6. What to test What to test Have a goal in

    mind - 3 alternatives Performance budget Business-specific goal Twitter's "time to first tweet" Google's RAIL model
  7. How to test How to test First rule 1. Measure

    1. Measure 2. Optimize 2. Optimize
  8. How to test How to test Alternatives Emulate a browser,

    run a test case and record response times for each request Passively send performance information directly from the user's application Synthetic monitoring Synthetic monitoring Real user monitoring (RUM) Real user monitoring (RUM)
  9. How to test How to test Synthetic monitoring Tools (free,

    web) (free, web) (free/paid, web) (paid, web) (free/paid, mobile) WebPage Test Google PageSpeed Insights StatusCake Keynote/Dynatrace Monkop
  10. How to test How to test Real user monitoring If

    RUM tools are used during testing, you can go live with know how on how to interpret the results Tools (free, web/mobile) (free/paid, web) , (free/paid, web) (paid, mobile) Google Analytics StatusCake NewRelic Pingdom HP AppPulse
  11. Resources Resources Link to slides RAIL Microsoft's performance testing guidelines

    diegocard.com/testinguy http://bit.ly/rail-performance http://bit.ly/microsoft-performance [email protected] [email protected] @diecard @diecard