criterion-1.0.1.0: Robust, reliable performance measurement and analysis

PortabilityGHC
Stabilityexperimental
Maintainerbos@serpentine.com
Safe HaskellNone

Criterion.Main.Options

Description

Benchmarking command-line configuration.

Synopsis

Documentation

data Mode Source

Execution mode for a benchmark program.

Constructors

List

List all benchmarks.

Version

Print the version.

OnlyRun Int64 MatchType [String]

Run the given benchmarks, without collecting or analysing performance numbers.

Run Config MatchType [String]

Run and analyse the given benchmarks.

data MatchType Source

How to match a benchmark name.

Constructors

Prefix

Match by prefix. For example, a prefix of "foo" will match "foobar".

Glob

Match by Unix-style glob pattern.

defaultConfig :: ConfigSource

Default benchmarking configuration.

parseWithSource

Arguments

:: Config

Default configuration to use if options are not explicitly specified.

-> Parser Mode 

Parse a command line.

describe :: Config -> ParserInfo ModeSource

Flesh out a command line parser.

versionInfo :: StringSource

A string describing the version of this benchmark (really, the version of criterion that was used to build it).