Native (GZIP) decompress not faster than builtin

2009-05-10 Thread Jens Riboe
Hi, During the past week I decided to use native decompress for a Hadoop job (using 0.20.0). But before implementing it I decided to write a small benchmark just so understand how much faster (better) it was. The result came out as a surprise May 6, 2009 10:56:47 PM

Re: Native (GZIP) decompress not faster than builtin

2009-05-10 Thread Stefan Podkowinski
Jens, As your test shows, using a native codec won't make much sense for small files, since the involved JNI overhead will likely out-weight any possible gains. With all the performance improvements in java 5 + 6 its reasonable to ask whether the native implementation does really improve