criterion-0.5.0.0: Robust, reliable performance measurement and analysis

PortabilityGHC
Stabilityexperimental
Maintainerbos@serpentine.com

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.

cfgPlot :: MultiMap Plot PlotOutput

What to plot, and where.

cfgPlotSameAxis :: Last Bool
 
cfgPrintExit :: PrintExit

Whether to print information and exit.

cfgResamples :: Last Int

Number of resamples to perform.

cfgSamples :: Last Int

Number of samples to collect.

cfgSummaryFile :: Last FilePath

Filename of summary CSV

cfgVerbosity :: Last Verbosity

Whether to run verbosely.

data PlotOutput Source

Supported plot outputs. Some outputs support width and height in varying units. A point is 1/72 of an inch (0.353mm).

Constructors

CSV

Textual CSV file.

PDF Int Int

PDF file, dimensions in points.

PNG Int Int

PNG file, dimensions in pixels.

SVG Int Int

SVG file, dimensions in points.

Window Int Int

Display in a window, dimensions in pixels.

data Plot Source

What to plot.

Constructors

KernelDensity

Kernel density estimate of probabilities.

Timing

Benchmark timings.

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.