HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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.