Preliminary review: Adding tracing of I/O calls

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Nov 7 14:04:00 UTC 2012


On 11/07/2012 07:55 AM, Staffan Larsen wrote:
> An update on performance. I have written microbenchmarks for file and
> socket i/o and compared the results before my suggested changes and
> after.
> 
> FileChannelRead       -4.06% FileChannelWrite      -1.06% 
> FileInputStream        0.92% FileOutputStream       1.32% 
> RandomAccessFileRead   1.66% RandomAccessFileWrite  0.76% 
> SocketChannelReadWrite 0.75% SocketReadWrite        0.89%

Good. I think next time you better publish the mean values along with
the errors to actually see if the difference is significant or not.

-Aleksey.



More information about the core-libs-dev mailing list