Safe Haskell | None |
---|
Convenience module that reexports the necessary bits.
- defaultMainWithBechmarks :: [Benchmark DefaultParamMeaning] -> IO ()
- defaultMainModifyConfig :: (Config -> Config) -> IO ()
- data Flag
- all_cli_options :: [(String, [OptDescr Flag])]
- fullUsageInfo :: String
- module HSBencher.Types
The main entrypoints for building new benchmark suites.
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
.
Command-line configuration
Command line flags.
all_cli_options :: [(String, [OptDescr Flag])]Source
Multiple lines of usage info help docs.
All the types necessary for configuration
Don't import the module below directly, but do click on this link to read its documentation.
module HSBencher.Types