When we test for the Performance of an Web Application what generally people concentrate on ?. Is it the http response time ?. Or is it the time page takes to load/render completely on client browser once after it receives the response from the Server ?.
What is measured generally across the industry ?. Do you have any recommendations in terms which should be done when ?
Do you have any tool recommendations for the same ?.
Can I use the Visual Studio Web Tests to measure the performance in terms of Web page load/render time once after client receives the response. or its just the http response time ?.
The total Render Time cannot be measured directly, but you can measure the time taken for your webpage to start rendering, The Start Render Metrics. The Start Render metric can be measured using the WebPage Test, and you have a section of the page performance result which show you the Start Render metric score.
Page load time refers to how long it takes for a page to show up on the screen. Timing starts when a customer initiates a page transition by clicking a link or typing a URL into your browser and ends when the page fully loads.
What is a good page load time? According to a 2019 study by Portent, a 0-4 second load time is best for conversion rates, and the first five seconds of page-load time have the highest impact on conversion rates. In fact, the highest ecommerce conversion rates occur on pages with load times between 0-2 seconds.
In particular, JMeter does not execute the Javascript found in HTML pages. Nor does it render the HTML pages as a browser does (it's possible to view the response as HTML etc., but the timings are not included in any samples, and only one sample in one thread is ever displayed at a time).
In three words : Performance really matters !
My golden rule is pretty simple : You have to measure everything and optimize everything. It's not only a pure tech challenge, but also concerns your business team. Here are some classic exemples from Velocity Conf.
What is measured generally across the industry ?. Do you have any recommendations in terms which should be done when ?
From Steve Souders, pioneer in Web Performance Optimization, "80-90% of the end-user response time is spent on the frontend" Start here first : Too many requests, non-optimized images, un-minified content (js/css), do not distribute static throught a cdn are common errros.
On the other hand, do not forget your backend, because this part really depends on load & activity. Some sites are paying the largest amount of performance tax due to backend issues. As the page generation time increases proportionally to the user load, You have to find the throughput peak of your app and check if it's ok with your -own- SLA.
Do you have any tool recommendations for the same ?
There is no magic tool that covers all topics, but many great tools that will help for a specific part of your app.
Can I use the Visual Studio Web Tests to measure the performance in terms of Web page load/render time once after client receives the response. or its just the http response time ?.
No, Visual Studio Web & Load Test focus only on HTTP request. Javascript is not executed and virtual users are not virtual browsers : it's impossible to measure page laod/redner time. In my company, we use it only for integration tests and load testing.
If you want to read more, you can look at this post (disclamer : I am the author). Another interested link is from Jeff Atwood (co-founder of StackOverflow), Performance is a feature.
Performance is a vast topic, and I only cover here only a small part, but you have a good starting point.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With