criterion-1.5.6.2: Robust, reliable performance measurement and analysis

Copyright | (c) 2009-2014 Bryan O'Sullivan
License | BSD-style
Maintainer | bos@serpentine.com
Stability | experimental
Portability | GHC
Safe Haskell | None
Language | Haskell2010

Criterion.Internal

Description

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

runAndAnalyse Source #

Arguments

:: (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.

runFixedIters Source #

Arguments

:: Int64 | Number of loop iterations to run.
-> (String -> Bool) | A predicate that chooses whether to run a benchmark by its name.
-> Benchmark |
-> Criterion () |

Run a benchmark without analysing its performance.