A simple benchmark to measure time taken for initial population of QueryCache
. Toggle QueryCachePopulationBenchmark.MAP_WITH_INDEX
to compare time taken when the backing IMap
is indexed vs when no index exists.
Build this module with maven:
mvn clean package
Then run the output uber-jar as follows:
java -jar target/benchmarks.jar
This benchmark is built on JMH; for a list of options run:
java -jar target/benchmarks.jar -h