criterion-1.1.1.0: Robust, reliable performance measurement and analysis

Copyright(c) 2014 Bryan O'Sullivan
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Criterion.Main.Options

Description

Benchmarking command-line configuration.

Synopsis

Documentation

data Mode

Execution mode for a benchmark program.

Constructors

List

List all benchmarks.

Version

Print the version.

RunIters Int64 MatchType [String]

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

Run Config MatchType [String]

Run and analyse the given benchmarks.

Instances

data MatchType

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 :: Config

Default benchmarking configuration.

parseWith

Arguments

:: Config

Default configuration to use if options are not explicitly specified.

-> Parser Mode 

Parse a command line.

describe :: Config -> ParserInfo Mode

Flesh out a command line parser.

versionInfo :: String

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