airlift / aircompressor

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

Allow overriding benchmark parameters from command line #78

Closed martint closed 6 years ago

martint commented 6 years ago

With this, it is possible to run a benchmark for a specific dataset or algorithm via:

mvn exec:exec \
    -Dexec.classpathScope=test \
    -Dexec.executable="java" \
    -Dexec.args="-cp %classpath io.airlift.compress.benchmark.CompressionBenchmark -p name=XXXX -p algorithm=YYYY"