Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 761 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 761 Bytes

Benchmarks

Benchmarks based on Oracle Java Microbenchmark Harness, inspired by metrics-benchmark.

Running

compile the jar

mise run build

run the benchmarks

Run only the benchmarks whose name matches "StringForm" (case sensitive):

java -jar target/benchmarks.jar "StringForm"

List all benchmark that match the pattern:

java -jar target/benchmarks.jar "StringForm" -l

Show all command line options:

java -jar target/benchmarks.jar -h

Sane defaults for the various JMH params have been set for quick local runs, you can override them via:

java -jar target/benchmarks.jar -t 4  -f 2 -i 10 -wi 5