HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulegenvalidity-criterion-1.1.0.0Haskell2010

Data.GenValidity.Criterion

Benchmarks for generators

  • 7 values
valueshrinkBench :: (GenValid a, NFData a) => String -> (a -> [a]) -> Benchmark
#

Benchmark for the time it takes to shrink to the first ten shrunk versions using a given shrinking function and a vector of 100 deterministically generated values.

valueshrinkBenchN
  1. :: (GenValid a, NFData a)
  2. => Int
  3. -> String
  4. -> a -> [a]
  5. -> Benchmark
#

Benchmark for the time it takes to shrink to the first ten shrunk versions using a given shrinking function and a vector of N deterministically generated values.