SlideShare a Scribd company logo
1 of 30
Download to read offline
Quick, Easy, Cheap & Valuable
                        Performance Testing…
               …for Every Member of the Team
                                                    Created for:

                                         STANZ 2010
        The Duxton Hotel                                           The Swissotel Sydney
        Wellington City, NZ                                             Sydney, AU
         23 August, 2010                                             26 August, 2010
                                         Scott Barber
                                      Chief Technologist
                                      PerfTestPlus, Inc.
    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing      Page 1
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Scott Barber
                                 CTO, PerfTestPlus, Inc.
                                      sbarber@perftestplus.com
                                      www.perftestplus.com

                                 Co-Founder:
                                 Workshop On Performance and Reliability
                                      www.performance-workshop.org

Co-Author:
                                                        Performance Testing Guidance
       Beautiful Testing                                     for Web Applications




                                                           www.codeplex.com/PerfTestingGuide
 oreilly.com/catalog/9780596159825                       www.amazon.com/gp/product/0735625700


    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing            Page 2
© 2006-10 PerfTestPlus, Inc. All rights reserved.
What is Performance Testing (Part 1)

Performance Testing: An empirical, technical investigation conducted
to provide stakeholders with information about the quality of the product or
service under test with regard to speed, scalability and/or stability
characteristics with the purpose of assessing value or mitigating risk.

Performance Investigation: A deliberate data-collection and data-
interpretation activity typically focused on data related to speed, scalability,
and/or stability of the product under test. The collected data are primarily
used to assess hypotheses about the root cause of one or more observed
performance issues.

Performance Validation: A deliberate activity that compares speed,
scalability and/or stability characteristics of the product under test to the
expectations of representative users of the product.



    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 3
© 2006-10 PerfTestPlus, Inc. All rights reserved.
What is Performance Testing (Part 2)
What mom tells people:
  I help people make websites go fast.

What I tell people:
  I help and/or teach individuals and organizations to
  optimize software systems by balancing:
     •     Cost
     •     Time to market
     •     Capacity
     while remaining focused on the quality of service
     to system users.

    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 4
© 2006-10 PerfTestPlus, Inc. All rights reserved.
What is Performance Testing (Part 3)
In effect:
           Performance testing helps stakeholders
                              make decisions regarding
                        product value and project risk;
                 Specifically value and risk related to
                      speed, scalability, and stability
       attributes of a system and it’s components
                   throughout the product life-cycle.
    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 5
© 2006-10 PerfTestPlus, Inc. All rights reserved.
“Let‟s face the truth, performance testing
                            *IS* rocket science.”
                                                                      --Dawn Haynes


       … but even rocket science involves
                              *SOME* easy stuff.
                                                     --Addendum added by: Scott Barber


    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 6
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Quick, Easy, Cheap & Valuable
                                                    Item #1
                              Make Performance a:




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 7
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Thoughts on Priority
• Focusing on performance adds value and mitigates
  risk from “bar napkin to delete key”.
• Get performance in the dev, test, & delivery plans.
• Don’t let performance fall off the plate.
• Be the advocate, even if it makes you “annoying”.
                                 Goals: Soft Boundaries (User Satisfaction)

                                 Requirements: Firm Boundaries (Business or Legal)

                                 Thresholds: Hard Boundaries (Laws of Physics)

                                 Constraints: Arbitrary Boundaries (Budget or Timeline)


    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 8
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Quick, Easy, Cheap & Valuable
                                                    Item #2
                                            Ask lots of:




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 9
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Thoughts on Questions
• How is the performance today?
• How will this [change] effect performance?
• Go to dev, test, & management meetings – and ask
  those questions.
• Advocate performance through questions.
• Earning the “annoying” label for asking
  questions is ok, but becoming “annoying”
  via your response to their answers isn’t.



    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 10
© 2006-10 PerfTestPlus, Inc. All rights reserved.
“Ok, that stuff is „quick‟, „easy‟ & „cheap‟

                         and I can see the value,

               but what about the *testing*?!


     www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 11
 © 2006-10 PerfTestPlus, Inc. All rights reserved.
Quick, Easy, Cheap & Valuable
                                                    Item #3

                                    Am I annoyed?




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 12
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Thoughts on Annoyance
•   Why am I annoyed?
•   How annoyed am I?
•   Does this annoy me all the time, or just sometimes?
•   What impact is this likely to have on product value?
•   Advocate something better.




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 13
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Quick, Easy, Cheap & Valuable
                                                    Item #4
                         Who else is annoyed?




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 14
© 2006-10 PerfTestPlus, Inc. All rights reserved.
More Thoughts on Annoyance

• Who matters?

• How do I get their feedback?

• Are they annoyed with
  performance, or workflow,
  or, or, or…?

• Advocate something better.



    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 15
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Quick, Easy, Cheap & Valuable
                                                    Item #5
                                             Determine:




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 16
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Speedy Speed Collection
• http://www.websiteoptimization.com/services/analyze/
• http://www.websitepulse.com/help/tools.php
• http://webwait.com/




           If you don’t have speed targets, don’t fret...
                                 Trends are trendy!
    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 17
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Speedy Speed Collection (and more)
• Microsoft Visual Round Trip Analyzer




• IBM Page Detailer Basic




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 18
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Quick, Easy, Cheap & Valuable
                                                    Item #6
                                       Research the




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 19
© 2006-10 PerfTestPlus, Inc. All rights reserved.
How are “leaders” doing?

• Keynote Systems

• Gomez Benchmarks

• WebMetrics

• The eService Index




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 20
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Quick, Easy, Cheap & Valuable
                                                    Item #7

                           Test the Front-End with




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 21
© 2006-10 PerfTestPlus, Inc. All rights reserved.
What is SCORN, anyway?
                                    Media, HTML, styles & scripts – compress & minify.



                                    The end-user’s browser cache can be your best friend,
                                    or your worst nightmare, use it wisely.


                                    Get the load order of your scripts and styles wrong,
                                    and you’ll lose your users every time – even though
                                    response time hasn’t changed!

                                    3, 4, & 5xx series response codes on individual
                                    objects are bad things.


                                    When it comes to performance, less is more (usually).

    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing    Page 22
© 2006-10 PerfTestPlus, Inc. All rights reserved.
SCORN References
• High Performance Web Sites: Essential Knowledge for Front-End
  Engineers, by Steve Souders, O’Reilly, 2007.

                                                          High Performance Web
• Yahoo! YSlow for Firebug
                                                        Sites: Essential Knowledge
                                                         for Front-End Engineers
• Page Speed

• Right Click -> View Source
  and other Tips for Performance
  Testing the Front End,
  by Scott Barber,                                        www.amazon.com/dp/0596529309
  for AST Update, 2007.

    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing     Page 23
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Quick, Easy, Cheap & Valuable
                                                    Item #8
              Proceed with caution,
     the following is only easy for hard-core




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 24
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Easy Stuff for Geeks

• Firefox Performance Tester’s Pack


• Web Site Test Tools and Site Management Tools


• Fiddler


• Web Development Helper




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 25
© 2006-10 PerfTestPlus, Inc. All rights reserved.
ReCap
• Make performance a priority.
• Ask lots of questions.
• Am I annoyed?
• Who else is annoyed?
• Determine how fast.
• Research the competition.
• Test the front-end with SCORN.
• Embrace your inner geek.
    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 26
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Questions




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 27
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Performance Testing Principles
                       Project context is central to successful performance testing.

                       Business, project, system, & user success criteria.

                       Identify system usage, and key metrics; plan and design tests.

                       Install and prepare environment, tools, & resource monitors.

                       Script the performance tests as designed.

                       Run and monitor tests. Validate tests, test data, and results.

                       Analyze the data individually and as a cross-functional team.

                       Consolidate and share results, customized by audience.

                       "Lather, rinse, repeat" as necessary.
    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 28
© 2006-10 PerfTestPlus, Inc. All rights reserved.
Credits
Some of the material in this presentation was inspired by High Performance
  Web Sites: Essential Knowledge for Front-End Engineers, by Steve
  Souders, O’Reilly, 2007.
Some of this material was developed for, or inspired by, Performance Testing
  Guidance for Web Applications, a Microsoft patterns & practices book by
  J.D. Meier, Scott Barber, Carlos Farre, Prashant Bansode, and Dennis Rea.
Many ideas in this presentation were inspired or enhanced by colleagues
  including Alberto Savoia, Roland Stens, Richard Leeke, Mike Kelly, Nate
  White, Rob Sabourin, Chris Loosley, Ross Collard, Jon Bach, James Bach,
  Jerry Weinberg, Cem Kaner, Dawn Haynes, Karen Johnson, and the entire
  WOPR community.
Most of the concepts in this presentation are derived from publications,
  presentations, and research written and/or conducted by Scott Barber.
Many ideas were improved by students of various courses taught by Scott
  Barber, back to 2001.

     www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 29
 © 2006-10 PerfTestPlus, Inc. All rights reserved.
Contact Info

                                  Scott Barber
                               Chief Technologist
                                     PerfTestPlus, Inc

E-mail:                                                 Web Site:
sbarber@perftestplus.com                                www.PerfTestPlus.com




    www.PerfTestPlus.com      Quick, Cheap, Easy & Valuable Performance Testing   Page 30
© 2006-10 PerfTestPlus, Inc. All rights reserved.

More Related Content

More from Scott Barber

Performance Testing for Managers
Performance Testing for ManagersPerformance Testing for Managers
Performance Testing for ManagersScott Barber
 
Pinpointing and Exploiting Specific Performance Bottlenecks
Pinpointing and Exploiting Specific Performance BottlenecksPinpointing and Exploiting Specific Performance Bottlenecks
Pinpointing and Exploiting Specific Performance BottlenecksScott Barber
 
SOA Testing Challenges
SOA Testing ChallengesSOA Testing Challenges
SOA Testing ChallengesScott Barber
 
Approaches to Software Testing
Approaches to Software TestingApproaches to Software Testing
Approaches to Software TestingScott Barber
 
Test Automation for Embedded Devices
Test Automation for Embedded DevicesTest Automation for Embedded Devices
Test Automation for Embedded DevicesScott Barber
 
Testing Tasks and Blooms Taxonomy
Testing Tasks and Blooms TaxonomyTesting Tasks and Blooms Taxonomy
Testing Tasks and Blooms TaxonomyScott Barber
 

More from Scott Barber (6)

Performance Testing for Managers
Performance Testing for ManagersPerformance Testing for Managers
Performance Testing for Managers
 
Pinpointing and Exploiting Specific Performance Bottlenecks
Pinpointing and Exploiting Specific Performance BottlenecksPinpointing and Exploiting Specific Performance Bottlenecks
Pinpointing and Exploiting Specific Performance Bottlenecks
 
SOA Testing Challenges
SOA Testing ChallengesSOA Testing Challenges
SOA Testing Challenges
 
Approaches to Software Testing
Approaches to Software TestingApproaches to Software Testing
Approaches to Software Testing
 
Test Automation for Embedded Devices
Test Automation for Embedded DevicesTest Automation for Embedded Devices
Test Automation for Embedded Devices
 
Testing Tasks and Blooms Taxonomy
Testing Tasks and Blooms TaxonomyTesting Tasks and Blooms Taxonomy
Testing Tasks and Blooms Taxonomy
 

Recently uploaded

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Recently uploaded (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

Quick, Easy, Cheap & Valuable Performance Testing for Every Member of the Team

  • 1. Quick, Easy, Cheap & Valuable Performance Testing… …for Every Member of the Team Created for: STANZ 2010 The Duxton Hotel The Swissotel Sydney Wellington City, NZ Sydney, AU 23 August, 2010 26 August, 2010 Scott Barber Chief Technologist PerfTestPlus, Inc. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 1 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 2. Scott Barber CTO, PerfTestPlus, Inc. sbarber@perftestplus.com www.perftestplus.com Co-Founder: Workshop On Performance and Reliability www.performance-workshop.org Co-Author: Performance Testing Guidance Beautiful Testing for Web Applications www.codeplex.com/PerfTestingGuide oreilly.com/catalog/9780596159825 www.amazon.com/gp/product/0735625700 www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 2 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 3. What is Performance Testing (Part 1) Performance Testing: An empirical, technical investigation conducted to provide stakeholders with information about the quality of the product or service under test with regard to speed, scalability and/or stability characteristics with the purpose of assessing value or mitigating risk. Performance Investigation: A deliberate data-collection and data- interpretation activity typically focused on data related to speed, scalability, and/or stability of the product under test. The collected data are primarily used to assess hypotheses about the root cause of one or more observed performance issues. Performance Validation: A deliberate activity that compares speed, scalability and/or stability characteristics of the product under test to the expectations of representative users of the product. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 3 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 4. What is Performance Testing (Part 2) What mom tells people: I help people make websites go fast. What I tell people: I help and/or teach individuals and organizations to optimize software systems by balancing: • Cost • Time to market • Capacity while remaining focused on the quality of service to system users. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 4 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 5. What is Performance Testing (Part 3) In effect: Performance testing helps stakeholders make decisions regarding product value and project risk; Specifically value and risk related to speed, scalability, and stability attributes of a system and it’s components throughout the product life-cycle. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 5 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 6. “Let‟s face the truth, performance testing *IS* rocket science.” --Dawn Haynes … but even rocket science involves *SOME* easy stuff. --Addendum added by: Scott Barber www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 6 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 7. Quick, Easy, Cheap & Valuable Item #1 Make Performance a: www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 7 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 8. Thoughts on Priority • Focusing on performance adds value and mitigates risk from “bar napkin to delete key”. • Get performance in the dev, test, & delivery plans. • Don’t let performance fall off the plate. • Be the advocate, even if it makes you “annoying”. Goals: Soft Boundaries (User Satisfaction) Requirements: Firm Boundaries (Business or Legal) Thresholds: Hard Boundaries (Laws of Physics) Constraints: Arbitrary Boundaries (Budget or Timeline) www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 8 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 9. Quick, Easy, Cheap & Valuable Item #2 Ask lots of: www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 9 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 10. Thoughts on Questions • How is the performance today? • How will this [change] effect performance? • Go to dev, test, & management meetings – and ask those questions. • Advocate performance through questions. • Earning the “annoying” label for asking questions is ok, but becoming “annoying” via your response to their answers isn’t. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 10 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 11. “Ok, that stuff is „quick‟, „easy‟ & „cheap‟ and I can see the value, but what about the *testing*?! www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 11 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 12. Quick, Easy, Cheap & Valuable Item #3 Am I annoyed? www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 12 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 13. Thoughts on Annoyance • Why am I annoyed? • How annoyed am I? • Does this annoy me all the time, or just sometimes? • What impact is this likely to have on product value? • Advocate something better. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 13 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 14. Quick, Easy, Cheap & Valuable Item #4 Who else is annoyed? www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 14 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 15. More Thoughts on Annoyance • Who matters? • How do I get their feedback? • Are they annoyed with performance, or workflow, or, or, or…? • Advocate something better. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 15 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 16. Quick, Easy, Cheap & Valuable Item #5 Determine: www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 16 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 17. Speedy Speed Collection • http://www.websiteoptimization.com/services/analyze/ • http://www.websitepulse.com/help/tools.php • http://webwait.com/ If you don’t have speed targets, don’t fret... Trends are trendy! www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 17 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 18. Speedy Speed Collection (and more) • Microsoft Visual Round Trip Analyzer • IBM Page Detailer Basic www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 18 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 19. Quick, Easy, Cheap & Valuable Item #6 Research the www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 19 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 20. How are “leaders” doing? • Keynote Systems • Gomez Benchmarks • WebMetrics • The eService Index www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 20 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 21. Quick, Easy, Cheap & Valuable Item #7 Test the Front-End with www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 21 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 22. What is SCORN, anyway? Media, HTML, styles & scripts – compress & minify. The end-user’s browser cache can be your best friend, or your worst nightmare, use it wisely. Get the load order of your scripts and styles wrong, and you’ll lose your users every time – even though response time hasn’t changed! 3, 4, & 5xx series response codes on individual objects are bad things. When it comes to performance, less is more (usually). www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 22 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 23. SCORN References • High Performance Web Sites: Essential Knowledge for Front-End Engineers, by Steve Souders, O’Reilly, 2007. High Performance Web • Yahoo! YSlow for Firebug Sites: Essential Knowledge for Front-End Engineers • Page Speed • Right Click -> View Source and other Tips for Performance Testing the Front End, by Scott Barber, www.amazon.com/dp/0596529309 for AST Update, 2007. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 23 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 24. Quick, Easy, Cheap & Valuable Item #8 Proceed with caution, the following is only easy for hard-core www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 24 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 25. Easy Stuff for Geeks • Firefox Performance Tester’s Pack • Web Site Test Tools and Site Management Tools • Fiddler • Web Development Helper www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 25 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 26. ReCap • Make performance a priority. • Ask lots of questions. • Am I annoyed? • Who else is annoyed? • Determine how fast. • Research the competition. • Test the front-end with SCORN. • Embrace your inner geek. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 26 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 27. Questions www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 27 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 28. Performance Testing Principles Project context is central to successful performance testing. Business, project, system, & user success criteria. Identify system usage, and key metrics; plan and design tests. Install and prepare environment, tools, & resource monitors. Script the performance tests as designed. Run and monitor tests. Validate tests, test data, and results. Analyze the data individually and as a cross-functional team. Consolidate and share results, customized by audience. "Lather, rinse, repeat" as necessary. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 28 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 29. Credits Some of the material in this presentation was inspired by High Performance Web Sites: Essential Knowledge for Front-End Engineers, by Steve Souders, O’Reilly, 2007. Some of this material was developed for, or inspired by, Performance Testing Guidance for Web Applications, a Microsoft patterns & practices book by J.D. Meier, Scott Barber, Carlos Farre, Prashant Bansode, and Dennis Rea. Many ideas in this presentation were inspired or enhanced by colleagues including Alberto Savoia, Roland Stens, Richard Leeke, Mike Kelly, Nate White, Rob Sabourin, Chris Loosley, Ross Collard, Jon Bach, James Bach, Jerry Weinberg, Cem Kaner, Dawn Haynes, Karen Johnson, and the entire WOPR community. Most of the concepts in this presentation are derived from publications, presentations, and research written and/or conducted by Scott Barber. Many ideas were improved by students of various courses taught by Scott Barber, back to 2001. www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 29 © 2006-10 PerfTestPlus, Inc. All rights reserved.
  • 30. Contact Info Scott Barber Chief Technologist PerfTestPlus, Inc E-mail: Web Site: sbarber@perftestplus.com www.PerfTestPlus.com www.PerfTestPlus.com Quick, Cheap, Easy & Valuable Performance Testing Page 30 © 2006-10 PerfTestPlus, Inc. All rights reserved.