Skip to content

Files

Latest commit

518122c · Sep 1, 2024

History

History

bench

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 1, 2024
Mar 11, 2020

Benchmarks

To run ScalaCheck's benchmarks, run the following command from SBT:

bench/jmh:run -wi 5 -i 5 -f1 -t1 org.scalacheck.bench.GenBench.*

The required parameters are:

  • -wi the number of warmup intervals to run
  • -i the number of benchmarking intervals to run
  • -f the number of forked processes to use during benchmarking
  • -t the number of threads to use during benchmarking

Smaller numbers will run faster but with less accuracy.

For more information about how we benchmark ScalaCheck, please see the comments in GenBench.scala.