How to calculate page load time in a Java application

My Java application (JSP servlets) was deployed to Tomcat on my local machine, and I can access these pages. How to calculate page load time on local computer?

http://localhost:8080/myApp/products.jsp 
+4
source share
3 answers

This is the result of exiting firebug. Each time you request a page, it displays a timeline for each page component. You can disable the browser cache if you wish.

enter image description here onload: on the last line is what you are looking for.

The time from the beginning of the first request to the end of the last request is 1.11 seconds.
The time from the start of the first request until the load event is fired on the page is 1.12 seconds.

The last two entries relate to the Google Analytics tag.

Firebug Net Panel Timings is very well explained here.

+2
source

If you want to measure it from the point of view of the client (browser), you can use httpwatch

http://www.httpwatch.com/

0
source

If you need a snapshot of the download time in your browser, you can check "Google Speed"

0
source

Source: https://habr.com/ru/post/1495396/


All Articles