HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecriterion-1.6.4.0Haskell2010

Criterion.Main.Options

Benchmarking command-line configuration.

  • 2 types
  • 6 values
  • Packagecriterion-1.6.4.0
  • Exports8
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceOptions.hs
datadata Mode
#

Execution mode for a benchmark program.

Constructors

Instances6Eq, Data, Read, Show, Generic, Rep
datadata 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. When using this match type, benchmark names are treated as if they were file-paths. For example, the glob patterns "*/ba*" and "*/*" will match "foo/bar", but "*" or "*bar" will not.

  • Pattern

    Match by searching given substring in benchmark paths.

  • IPattern

    Same as Pattern, but case insensitive.

Instances9Bounded, Enum, Eq, Data, Ord, Read, …
valueparseWith
  1. :: Config

    Default configuration to use if options are not explicitly specified.

  2. -> Parser Mode
#

Parse a command line.

valueversionInfo :: String
#

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