HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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.