Package org.brotli.integration
Class Benchmark
java.lang.Object
org.brotli.integration.Benchmark
Measures decompression speed on the given corpus.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static long
decodeBytes
(InputStream input, OutputStream output, byte[] buffer) static void
private static byte[]
-
Constructor Details
-
Benchmark
public Benchmark()
-
-
Method Details
-
readFile
- Throws:
IOException
-
decodeBytes
private static long decodeBytes(InputStream input, OutputStream output, byte[] buffer) throws IOException - Throws:
IOException
-
main
- Throws:
IOException
-