Copyright | (c) 2009-2014 Bryan O'Sullivan |
---|---|
License | BSD-style |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Core benchmarking code.
Synopsis
- runAndAnalyse :: (String -> Bool) -> Benchmark -> Criterion ()
- runAndAnalyseOne :: Int -> String -> Benchmarkable -> Criterion DataRecord
- runOne :: Int -> String -> Benchmarkable -> Criterion DataRecord
- runFixedIters :: Int64 -> (String -> Bool) -> Benchmark -> Criterion ()
Documentation
:: (String -> Bool) | A predicate that chooses whether to run a benchmark by its name. |
-> Benchmark | |
-> Criterion () |
Run, and analyse, one or more benchmarks.
runAndAnalyseOne :: Int -> String -> Benchmarkable -> Criterion DataRecord Source #
Run a single benchmark and analyse its performance.
runOne :: Int -> String -> Benchmarkable -> Criterion DataRecord Source #
Run a single benchmark.