Why performance matters #perfmatters • What to test • How to test • Performance on the cloud • Test your cloud with local tools • Test your cloud with cloud tools • Let your users do the testing for you
matters Why is it important for our business? • Google: 2% slower = 2% less searches per user • Yahoo: 400 ms faster = 9% more traffic • Amazon: 100ms faster = 1% more revenue • Google uses site speed in web search ranking Better performance Happier users More $
test Classification of performance tests Type of test Goal Performance Determine and validate speed Load Verify application behavior under normal and peak load conditions Stress Verify application behavior beyond normal and peak load conditions Capacity Determine how many users and/or transactions are supported while meeting performance goals
test 2 approaches • Synthetic monitoring Emulate a user's browser, run a test case and register response times for all requests • Real User Monitoring (RUM) Users passively send real performance data
• Quick performance tests WebPage Test (free) • Add load tests to your local dev suite Visual Studio Enterprise Load tests • Run load tests from the cloud (free/paid) Visual Studio Team Services
Monitoring (RUM) Application Insights – available for free on Azure • Gather performance data from real users • 360° view of your application • Server level – IIS • Application level – SDK Telemetry data • Client level – data collection through JavaScript
• Application performance monitoring Measure performance, discover failures • Interactive data analytics Ad-hoc queries and deep diagnostics • Proactive detection Machine learning based anomaly detection • Not just .NET Java, Ruby, Python, PHP and Node.JS on Azure