airlift / aircompressor

A port of Snappy, LZO, LZ4, and Zstandard to Java
Apache License 2.0
566 stars 112 forks source link

Allow overriding benchmark selection from command line #86

Closed martint closed 6 years ago

martint commented 6 years ago

This makes it possible to choose whether to run compression, decompression or both:

mvn exec:exec \
    -Dexec.classpathScope=test \
    -Dexec.executable="$JAVA_HOME/bin/java" \
    -Dexec.args="-cp %classpath io.airlift.compress.benchmark.CompressionBenchmark compress"