Skip to content

Files

Latest commit

 

History

History
 
 

ubenchmark

Micro-benchmarks

This directory, ubenchmark, contains micro-benchmarks written using the jmh framework.

The benchmarks are tools for development and are not distributed as Calcite artifacts. (Besides, jmh's license does not allow that.)

To run all benchmarks:

./gradlew :ubenchmark:jmh

To run one (or few) benchmark(s):

./gradlew :ubenchmark:jmh -Pjmh.includes=ParserInstantiationBenchmark
}

The jmh.includes property accepts a regular expression for benchmarks to be executed. The property maps to the includes configuration option provided by the jmh-gradle-plugin.

Recording results

When you have run the benchmarks, please record them in the relevant JIRA case and link them here:

  • ParserBenchmark: 459, 1012
  • ArrayListTest: 3878
  • DefaultDirectedGraphBenchmark: 3827
  • RelNodeBenchmark: 3836
  • ReflectVisitorDispatcherTest: 3873
  • RelNodeConversionBenchmark: 4994