Copyright | (c) 2014 Bryan O'Sullivan |
---|---|
License | BSD-style |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Benchmarking command-line configuration.
- defaultConfig :: Config
- makeSelector :: MatchType -> [String] -> String -> Bool
- parseWith :: Config -> [String] -> (Config, [String])
- describe :: String
- versionInfo :: String
- data Config = Config {
- confInterval :: Maybe Double
- forceGC :: Bool
- timeLimit :: Maybe Double
- minSamples :: Maybe Int
- minDuration :: MilliSeconds
- includeFirstIter :: Bool
- quickMode :: Bool
- measureOnly :: Maybe FilePath
- measureWith :: Maybe FilePath
- resamples :: Int
- regressions :: [([String], String)]
- rawDataFile :: Maybe FilePath
- reportFile :: Maybe FilePath
- csvFile :: Maybe FilePath
- csvRawFile :: Maybe FilePath
- jsonFile :: Maybe FilePath
- junitFile :: Maybe FilePath
- verbosity :: Verbosity
- template :: FilePath
- iters :: Maybe Int64
- match :: MatchType
- mode :: Mode
- displayMode :: DisplayMode
- data Verbosity
- data DisplayMode
- data MatchType
- data Mode
- = List
- | Version
- | Help
- | DefaultMode
Documentation
defaultConfig :: Config Source #
Default benchmarking configuration.
Create a benchmark selector function that can tell if a name given on the command line matches a defined benchmark.
versionInfo :: String Source #
A string describing the version of this benchmark (really, the version of gauge that was used to build it).
Top-level benchmarking configuration.
Config | |
|
Control the amount of information displayed.
data DisplayMode Source #