Measure Performance

B

Bond

Hi! I'd like to measure the performance of my web page. I'd like to
set a timer on the page to start when a user clicks on a link, or
submit... anything where the browser requests a page from the server.
The idea would be to set a hidden form variable to the current time
when an action occurs, then when the page from the server is returned,
I can match the new time to the old time and get the difference in
order to measure the performance. Is there some sort of javascript
funtion that will allow me to do this (that is able to tell when the
browser is requesting a page from the server... whether this is on a
submit, hyperlink, etc)???

Thanks in advance!
 
B

Bond

The problem is how do I know when the browser is making a request to
the server? My page is using JSPs if that helps. I am not having an
onclick event for EVERY hyperlink, submit, etc. There must be some
javascript function that I can overwrite that will allow me to
something when the browser requests something from the server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top