I do understand that JSP is compiled and executed solely on server but I would like to separate the time it take to compile and execute, and time it take to write the response back on the network. I am measuring JSP processing time by getting the start time at the beginning of the JSP and end time at the end of the JSP.
If I access the JSP on the server (using remote desktop and opening a browser on the server), it takes only 47 -67 ms to process the JSP. Same JSP take 200-350 ms when it is accessed remotely over the network. I believe JSP execution slows down if the client is on the slower network. What I mean is that JSP response write is slower and that why I get the higher JSP processing time as all the data is not getting buffered on the Server.
I have Sybase EA Server 5.3 and my JSP�s generated output is around 120 KB. I know that response buffer on EA Server is 8KB and maximum MTU (maximum transmission unit) size on most networks is about 1.5 KB. My window size on server is 65535.
Thanks