for(File f : new File("resources/testdata/").listFiles()) {
RandomAccessFile raf = new RandomAccessFile(f, "r");
byte[] data = new byte[(int) raf.length()];
raf.readFully(data);
Buffer compressed = SnappyCompressor.compress(data);
long l = 0;
Buffer b = new Buffer();
int iterations = 4000;
long t0 = System.nanoTime();
for(int i=0; i<iterations; i++) {