hsbencher-1.20.0.2: Launch and gather data from Haskell and non-Haskell benchmarks.

Safe HaskellNone
LanguageHaskell2010

HSBencher.Internal.Config

Contents

Description

Code to deal with configuration information, including gathering it from the host environment. Also deals with command line arguments.

Synopsis

Configurations

getConfig :: [Flag] -> [Benchmark DefaultParamMeaning] -> IO Config Source

Retrieve the (default) configuration from the environment, it may subsequently be tinkered with. This procedure should be idempotent.

augmentResultWithConfig :: Config -> BenchmarkResult -> IO BenchmarkResult Source

Fill in "static" fields of a BenchmarkResult row based on the Config data.

addPlugin :: Plugin p => p -> PlugConf p -> Config -> Config Source

This abstracts over the actions we need to take to properly add an additional plugin to the Config.

Command line options