Gaurav
Gaurav

Reputation: 259

How to calculate page load time in Java application

My Java application(JSP-servlets) has been deployed on Tomcat on my local machine and i can access the pages like this. How can i calculate the page load time in local machine ??

http://localhost:8080/myApp/products.jsp

Upvotes: 4

Views: 2186

Answers (3)

Costis Aivalis
Costis Aivalis

Reputation: 13728

This us the output from firebug. Every time you request a page, it displays the Timeline for each page component. You can disable browser cache if you like.

enter image description here onload: at the last line is what you are seeking for.

The time from the start of the first request until 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 by the page is 1.12 seconds.

The last two entries are for the google analytics tag.

Firebug Net Panel Timings are explained very well here.

Upvotes: 2

sevensevens
sevensevens

Reputation: 1750

If you just want a snapshot of load-time on your browser, you might want to check out Google Page Speed

Upvotes: 0

Ravi Vasamsetty
Ravi Vasamsetty

Reputation: 413

If you are looking to measure it from client (browser) perspective, you can use httpwatch

http://www.httpwatch.com/

Upvotes: 0

Related Questions