edu.gemini.grackle.benchmarks

Type members

Classlikes

@State @BenchmarkMode(scala.Array.apply[org.openjdk.jmh.annotations.Mode](org.openjdk.jmh.annotations.Mode.Throughput)(scala.reflect.ClassTag.apply[org.openjdk.jmh.annotations.Mode](classOf[org.openjdk.jmh.annotations.Mode]))) @OutputTimeUnit

To do comparative benchmarks between versions:

To do comparative benchmarks between versions:

benchmarks/run-benchmark ParserBenchmark

This will generate results in benchmarks/results.

Or to run the benchmark from within sbt:

jmh:run -i 10 -wi 10 -f 2 -t 1 edu.gemini.grackle.benchmarks.ParserBenchmark

Which means "10 iterations", "10 warm-up iterations", "2 forks", "1 thread". Please note that benchmarks should be usually executed at least in 10 iterations (as a rule of thumb), but more is better.