Hai,
I have a login screen.After providing username and password I clicked submit button.Then jsp page is rendered.I need to calculate the response time between the submit button click and the after the JSP page is rendered.[ Actuall flow is after the submit button is clicked, struts action will be fired, some database action is happening then the JSP page is rendered]. How to know the reponse time taken. Any help is highly appreciated.
Thank in advance
Vinoth
-
How to know the reponse time taken (2 messages)
- Posted by: vinoth chidambara
- Posted on: December 30 2003 04:03 EST
Threaded Messages (2)
- How to know the reponse time taken by David Rabinowitz on December 30 2003 05:54 EST
- How to know the reponse time taken by Eugene Bloss on January 04 2004 16:58 EST
-
How to know the reponse time taken[ Go to top ]
- Posted by: David Rabinowitz
- Posted on: December 30 2003 05:54 EST
- in response to vinoth chidambara
You can add a filter on the server and test how much time it takes it to get all the data and define the html. Measuring the network time should be done on the client side - what about openening (using javascript) a new window when submitting and a second one when the page finished rendered. other option is to pass this time to the jsp, and let javascript to calculate the delta (since you rely only on the client's clock)
David -
How to know the reponse time taken[ Go to top ]
- Posted by: Eugene Bloss
- Posted on: January 04 2004 16:58 EST
- in response to vinoth chidambara
See for example Profile filter in JSOS
www.servletsuite.com/servlets.htm