Top Banner
Speed me Up! Performance Testing Best Practices
16

Speed me up!

Dec 18, 2014

Download

Technology

Performance meetup in Barcelona July 2013
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Speed me up!

Speed me Up!Performance Testing Best Practices

Page 2: Speed me up!
Page 3: Speed me up!

Goal: performance tests determine system and user responses, throughput, reliability, scalability of a system under load

Page 4: Speed me up!

“Performance test is easy. It is easy to design not realistic scenarios. It is easy to collect irrelevant data. Even, with a good scenario and good data it is easy to use incorrect statistical Method.” – Alberto Savoia

Page 5: Speed me up!

SCENARIOS: Identify the scenarios that are most commonly executed or most resource-intensive

Page 6: Speed me up!

WORKLOAD MODEL: User Session Duration in average. It is important to define the load levels that will translate into concurrent usage, overslapping users, or user sessions per second.

Page 7: Speed me up!

USER SCENARIO: Navigational Path, including intermediate steps or activities, taken by the user to complete a task. We will call it User Session from now on.

Page 8: Speed me up!

THINK TIMES: User thinktimes Pause between pages during a User Session depending on the User Type*

Page 9: Speed me up!

User Types: Identify the User … new, revisiting… devices, networks…

Page 10: Speed me up!

Performance Acceptance Criteria: Response time, System load, Throughput ...

Page 11: Speed me up!

METRICS: Only well-selected metrics that are analyzed correctly and contextually provide information of value.

Page 12: Speed me up!

DESIGN TEST: Using your scenarios, key metrics, and workload analysis …

Page 13: Speed me up!

RUN TEST: the load simulation must reflect the test design

Page 14: Speed me up!

ANALYZE RESULTS: Find bottlenecks, memory leaks, cpu hogs, bad sofware design …

Page 15: Speed me up!

Monitor Performance in production: and check if the assumptions from your test phase are correct. Adapt your tests always to production experience.

Page 16: Speed me up!

• http://www.raosoft.com/samplesize.html

• http://analyze.websiteoptimization.com/wso

• http://mobitest.akamai.com/m/index.cgi

• http://stevesouders.com/mobileperf/mobileperfbkm.php