tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Zubenko" <zube...@devexperts.com>
Subject slow read from input stream.
Date Wed, 24 Nov 2004 11:35:28 GMT
In tomcat 5.0.28 I do following:

 

HttpServletRequest request;

 

InputStream in = request.getInputStream();

 

in.read();

 

first call to read always takes aprox. 90 ms. I have discovered that
first call to in.read() calls public int realReadBytes(byte cbuf[], int
off, int len) method in InputBuffer. But why 90 ms. It seems too long.

 

С уважением,

Александр Зюбенко

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message