tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject Re: modify the source code to measure the time of processing a request
Date Wed, 13 Jan 2010 06:56:43 GMT
This type of request belongs on the user mailing list, so please direct any 
follow up there.

What you want can be done with a simple ServletRequestListener.  There is no 
need to hack the Tomcat code.

"Bao" <> wrote in message
  Our company is using the apache tomcat 6.0.20 as our server.
And now I plan to measure the time of every requet processed in the server 
without the help of any benchmark tool.
  I plan to modify the code to add a time stamp in a request when it comes 
into the server and add another time stamp when it go out of server. So with 
a simple subtraction I can get the time I need.
  However,I am not familiar with the archive of the source code.So anyone 
could give me some suggestion of doing this?Like where should I modify in 
the source code.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message