criterion-0.1.3: Robust, reliable performance measurement and analysisSource codeContentsIndex
Criterion.Config
PortabilityGHC
Stabilityexperimental
Maintainerbos@serpentine.com
Description
Benchmarking configuration.
Synopsis
data Config = Config {
cfgBanner :: Last String
cfgConfInterval :: Last Double
cfgPerformGC :: Last Bool
cfgPlot :: MultiMap Plot PlotOutput
cfgPlotSameAxis :: Last Bool
cfgPrintExit :: PrintExit
cfgResamples :: Last Int
cfgSamples :: Last Int
cfgSummaryFile :: Last String
cfgVerbosity :: Last Verbosity
}
data PlotOutput
= CSV
| PDF Int Int
| PNG Int Int
| SVG Int Int
| Window Int Int
data Plot
= KernelDensity
| Timing
data PrintExit
= Nada
| List
| Version
| Help
data Verbosity
= Quiet
| Normal
| Verbose
defaultConfig :: Config
fromLJ :: (Config -> Last a) -> Config -> a
ljust :: a -> Last a
Documentation
data Config Source
Top-level program configuration.
Constructors
Config
cfgBanner :: Last StringThe "version" banner to print.
cfgConfInterval :: Last DoubleConfidence interval to use.
cfgPerformGC :: Last BoolWhether to run the GC between passes.
cfgPlot :: MultiMap Plot PlotOutputWhat to plot, and where.
cfgPlotSameAxis :: Last Bool
cfgPrintExit :: PrintExitWhether to print information and exit.
cfgResamples :: Last IntNumber of resamples to perform.
cfgSamples :: Last IntNumber of samples to collect.
cfgSummaryFile :: Last StringFilename of summary CSV
cfgVerbosity :: Last VerbosityWhether to run verbosely.
show/hide Instances
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
CSVTextual CSV file.
PDF Int IntPDF file, dimensions in points.
PNG Int IntPNG file, dimensions in pixels.
SVG Int IntSVG file, dimensions in points.
Window Int IntDisplay in a window, dimensions in pixels.
show/hide Instances
data Plot Source
What to plot.
Constructors
KernelDensityKernel density estimate of probabilities.
TimingBenchmark timings.
show/hide Instances
data PrintExit Source
Print some information and exit, without running any benchmarks.
Constructors
NadaDo not actually print-and-exit. (Default.)
ListPrint a list of known benchmarks.
VersionPrint version information (if known).
HelpPrint a help/usaage message.
show/hide Instances
data Verbosity Source
Control the amount of information displayed.
Constructors
Quiet
Normal
Verbose
show/hide Instances
defaultConfig :: ConfigSource
A configuration with sensible defaults.
fromLJSource
::
=> Config -> Last aDefault to use.
-> Config
-> a
Deconstructor for Last values.
ljust :: a -> Last aSource
Constructor for Last values.
Produced by Haddock version 2.6.0