jmenashe / rl-glue-ext

Automatically exported from code.google.com/p/rl-glue-ext
0 stars 0 forks source link

Benchmark the Java codec and see if bulk methods will be faster #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
http://java.sun.com/j2se/1.5.0/docs/api/java/nio/ByteBuffer.html#get(byte[])

Original issue reported on code.google.com by brian.ta...@gmail.com on 17 Sep 2008 at 2:56

GoogleCodeExporter commented 8 years ago
Try sending come int or char arrays that have size in the thousands across, and 
then
also try some small ones.. and see what sort of steps per second the codec can 
pull off. 

Original comment by brian.ta...@gmail.com on 17 Sep 2008 at 5:48

GoogleCodeExporter commented 8 years ago
Did, and they are.

Got a 2-3x speedup depending on conditions.

Look no further than r150.

Original comment by brian.ta...@gmail.com on 18 Sep 2008 at 1:54