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

Safe HaskellNone
LanguageHaskell2010

HSBencher.Internal.App

Description

The Main module defining the HSBencher driver.

Synopsis

Documentation

defaultMainWithBechmarks :: [Benchmark DefaultParamMeaning] -> IO () Source

In this version, user provides a list of benchmarks to run, explicitly.

defaultMainModifyConfig :: (Config -> Config) -> IO () Source

An even more flexible version allows the user to install a hook which modifies the configuration just before bencharking begins. All trawling of the execution environment (command line args, environment variables) happens BEFORE the user sees the configuration.

This function doesn't take a benchmark list separately, because that simply corresponds to the benchlist field of the output Config.

fullUsageInfo :: String Source

Multiple lines of usage info help docs.