Skip to content
Permalink
Browse files
No console output.
  • Loading branch information
garydgregory committed May 5, 2022
1 parent cce64a0 commit bdc2d285944f0180b57864838114f2eafd4276c0
Showing 1 changed file with 3 additions and 3 deletions.
@@ -69,16 +69,16 @@ private void roundTripTest(final String testFile, final FramedLZ4CompressorOutpu
params)) {
IOUtils.copy(new ByteArrayInputStream(expected), los);
}
System.err.println(input.getName() + " written, uncompressed bytes: " + input.length()
+ ", compressed bytes: " + outputSz.length() + " after " + (System.currentTimeMillis() - start) + "ms");
// System.err.println(input.getName() + " written, uncompressed bytes: " + input.length()
// + ", compressed bytes: " + outputSz.length() + " after " + (System.currentTimeMillis() - start) + "ms");
start = System.currentTimeMillis();
try (FramedLZ4CompressorInputStream sis = new FramedLZ4CompressorInputStream(
new ByteArrayInputStream(bos.toByteArray()))) {
final byte[] actual = IOUtils.toByteArray(sis);
Assert.assertArrayEquals(expected, actual);
}

System.err.println(outputSz.getName() + " read after " + (System.currentTimeMillis() - start) + "ms");
// System.err.println(outputSz.getName() + " read after " + (System.currentTimeMillis() - start) + "ms");
}

// should yield decent compression

0 comments on commit bdc2d28

Please sign in to comment.