criterion-0.6.1.1: Robust, reliable performance measurement and analysis

PortabilityGHC
Stabilityexperimental
Maintainerbos@serpentine.com
Safe HaskellSafe-Infered

Criterion.Config

Description

Benchmarking configuration.

Synopsis

Documentation

data Config Source

Top-level program configuration.

Constructors

Config 

Fields

cfgBanner :: Last String

The "version" banner to print.

cfgConfInterval :: Last Double

Confidence interval to use.

cfgPerformGC :: Last Bool

Whether to run the GC between passes.

cfgPrintExit :: PrintExit

Whether to print information and exit.

cfgResamples :: Last Int

Number of resamples to perform.

cfgReport :: Last FilePath

Filename of report.

cfgSamples :: Last Int

Number of samples to collect.

cfgSummaryFile :: Last FilePath

Filename of summary CSV.

cfgCompareFile :: Last FilePath

Filename of the comparison CSV.

cfgTemplate :: Last FilePath

Filename of report template.

cfgVerbosity :: Last Verbosity

Whether to run verbosely.

data PrintExit Source

Print some information and exit, without running any benchmarks.

Constructors

Nada

Do not actually print-and-exit. (Default.)

List

Print a list of known benchmarks.

Version

Print version information (if known).

Help

Print a help/usaage message.

data Verbosity Source

Control the amount of information displayed.

Constructors

Quiet 
Normal 
Verbose 

defaultConfig :: ConfigSource

A configuration with sensible defaults.

fromLJSource

Arguments

:: (Config -> Last a)

Field to access.

-> Config

Default to use.

-> a 

Deconstructor for Last values.

ljust :: a -> Last aSource

Constructor for Last values.