lol-benches-0.0.0.3: A library for benchmarking <https://hackage.haskell.org/package/lol Λ ∘ λ>.

Copyright(c) Eric Crockett 2011-2017
Chris Peikert 2011-2017
LicenseGPL-2
Maintainerecrockett0@email.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Crypto.Lol.Utils.PrettyPrint.Diagnostic

Description

Pretty-printing for benchmark results across levels of the Lol stack.

Synopsis

Documentation

prettyBenches :: Opts -> Benchmark -> IO () Source #

Takes benchmark options an a benchmark group nested as paramslevelop, and prints a table comparing operations across all selected levels of Lol.

defaultOpts :: Opts Source #

Runs all benchmarks with verbosity Progress.

data Opts Source #

Constructors

Opts

Character width of row labels

Fields

  • verb :: Verb

    Verbosity

  • levels :: [String]

    Which levels of Lol to benchmark. The empty list means run all levels.

  • benches :: [String]

    Which operations to benchmark. The empty list means run all benchmarks.

  • redThreshold :: Double

    How many times larger a benchmark must be (compared to the minimum benchmark for that parameter, across all levels), to be printed in red

  • colWidth :: Int

    Character width of data columns

  • testNameWidth :: Int
     

data Verb Source #

Verbosity of benchmark output.

Constructors

Progress

prints a . when each benchmark completes

Abridged

prints a one-line summary for each benchmark

Full

prints full criterion output for each benchmark

Instances

Eq Verb Source # 

Methods

(==) :: Verb -> Verb -> Bool #

(/=) :: Verb -> Verb -> Bool #