<p>I'm about to start testing an intranet web application. Specifically, I've to determine the application's performance.</p>

<p>Please could someone suggest formal/informal standards for how I can judge the application's performance.</p>

[{'answer_id': 41864, 'author': 'David McLaughlin', 'author_id': 3404, 'author_profile': 'https://Stackoverflow.com/users/3404', 'pm_score': 2, 'selected': False, 'text': '<p>To test the front-end then YSlow is great for getting statistics for how long your pages take to load from a user perspective. It breaks down into stats for each specfic HTTP request, the time it took, etc. Get it at <a href="http://developer.yahoo.com/yslow/" rel="nofollow noreferrer">http://developer.yahoo.com/yslow/</a></p>\n\n<p>Firebug, of course, also is essential. You can profile your JS explicitly or in real time by hitting the profile button. Making optimisations where necessary and seeing how long all your functions take to run. This changed the way I measure the performance of my JS code. <a href="http://getfirebug.com/js.html" rel="nofollow noreferrer">http://getfirebug.com/js.html</a></p>\n'}, {'answer_id': 41875, 'author': 'Marcio Aguiar', 'author_id': 4213, 'author_profile': 'https://Stackoverflow.com/users/4213', 'pm_score': 4, 'selected': True, 'text': '<p>Use some tool for stress and load testing. If you\'re using Java take a look at <a href="http://jakarta.apache.org/jmeter/" rel="noreferrer">JMeter</a>. It provides different methods to test you application performance. You should focus on:</p>\n\n<ul>\n<li><strong>Response time</strong>: How fast your application is running for normal requests. Test some read/write use case</li>\n<li><strong>Load test</strong>: How your application behaves in high traffic times. The tool will submit several requests (you can configure that properly) during a period of time.</li>\n<li><strong>Stress test</strong>: Do your application can operate during a long period of time? This test will push your application to the limits</li>\n</ul>\n\n<p>Start with this, if you\'re interested, there are other kinds of tests.</p>\n'}, {'answer_id': 41935, 'author': 'kemiller2002', 'author_id': 1942, 'author_profile': 'https://Stackoverflow.com/users/1942', 'pm_score': 2, 'selected': False, 'text': "<p>Really the big thing I would think is response time, but other indicators I would look at are processor and memory usage vs. the number of concurrent users/processes.  I would also check to see that everything is performing as expected under normal and then peak load.  You might encounter scenarios where higher load causes application errors due to various requests stepping on each other.</p>\n\n<p>If you really want to get detailed information you'll want to run different types of load/stress tests.  You'll probably want to look at a step load test (a gradual increase of users on system over time) and a spike test (a significant number of users all accessing at the same time where almost no one was accessing it before).  I would also run tests against the server right after it's been rebooted to see how that affects the system.</p>\n\n<p>You'll also probably want to look at a concept called HEAT (Hostile Environment Application Testing).  Really this shows what happens when some part of the system goes offline.  Does the system degrade successfully?  This should be a key standard.</p>\n\n<p>My one really big piece of suggestion is to establish what the system is supposed to do before doing the testing.  The main reason is accountability.  Get people to admit that the system is supposed to do something and then test to see if it holds true.  This is key because because people will immediately see the results and that will be the base benchmark for what is acceptable. </p>\n"}, {'answer_id': 7599083, 'author': 'James Pulley', 'author_id': 691105, 'author_profile': 'https://Stackoverflow.com/users/691105', 'pm_score': 2, 'selected': False, 'text': '<p>"Specifically, I have to determine the application\'s performance...."</p>\n\n<p>This comes full circle to the issue of requirements, the captured expectations of your user community for what is considered reasonable and effective.    Requirements have a number of components</p>\n\n<ol>\n<li>General Response time, " Under a load of .... The Site shall have a general response time of less than x, y% of the time..."</li>\n<li>Specific Response times, " Under a load of .... Credit Card processing shall take less than z seconds, a% of the time..."</li>\n<li>System Capacity items, " Under a load of .... CPU|Network|RAM|DISK shall not exceed n% of capacity.... "</li>\n<li>The load profile, which is the mix of the number of users and transactions which will take place under which the specific, objective, measures are collected to determine system performance.</li>\n</ol>\n\n<p>You will notice the the response times and other measures are no absolutes.  Taking a page from six sigma manufacturing principals, the cost to move from 1 exception in a million to 1 exception in a billion is extraordinary and the cost to move to zero exceptions is usually a cost not bearable by the average organization.   What is considered acceptable response time for a unique application for your organization will likely be entirely different from a highly commoditized offering which is a public internet facing application.  For highly competitive solutions response time expectations on the internet are trending towards the 2-3 second range where user abandonment picks up severely.   This has dropped over the past decade from 8 seconds, to 4 seconds and now into the 2-3 second range.   Some applications, like Facebook, shoot for almost imperceptible response times in the sub one second range for competitive reasons.    If you are looking for a hard standard, they just don\'t exist.</p>\n\n<p>Something that will help your understanding is to read through a couple of industry benchmarks for style, form, function.</p>\n\n<ul>\n<li><a href="http://www.tpc.org/tpcc/spec/tpcc_current.pdf" rel="nofollow">TPC-C Database Benchmark Document</a></li>\n<li><a href="http://www.spec.org/web2009/docs/design/SPECweb2009_Design.html" rel="nofollow">SpecWeb2009 Benchmark Design Document</a></li>\n</ul>\n\n<p>Setting up a solid set of performance tests which represents your needs is a non-trivial matter.   You may want to bring in a specialist to handle this phase of your QA efforts.</p>\n\n<p>On your tool selection, make sure you get one that can </p>\n\n<ul>\n<li>Exercise your interface</li>\n<li>Report against your requirements</li>\n<li>You or your team has the skills to use</li>\n<li>You can get training on and will attend with management\'s blessing</li>\n</ul>\n\n<p>Misfire on any of the four elements above and you as well have purchased the most expensive tool on the market and hired the most expensive firm to deploy it.</p>\n\n<p>Good luck!</p>\n'}]
['https://Stackoverflow.com/questions/41857', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2665/']