Most likely read(byte[]...) is used by other classes.
These methods class read() internally, but don't you
think that the JVM optimizes these method calls ?
I bet that they are optimized.

Bye,

Stephan Schiessling





Sandeep Sharma wrote:
> Hi!
> 
> I have some doubts regarding the effeciency of the
> CharTerminatedInputStream :
> 
> Processing every byte of the message will shoot up CPU
> usage like any thing for example if JAMES receive  a
> message of 8K then there will be 
> 
> 8 * 1024 = 8192 read() function calls
> 
> further the overhead of calling read() function 8192
> times + the processing time will consume lots of CPU
> cycles consequently reducing the overall capacity of
> the JAMES to handle mails
> 
> I would advice JAMES developers to use Transaction
> Cost Analysis (TRC) method to performance test JAMES
> Mail Server
> 
> Sandiep
> CTO Infosoft TechNet Private Limited
> http://www.infosoftin.com
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards�
> http://movies.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to