Safe Haskell | None |
---|
The Main module defining the HSBencher driver.
- defaultMainWithBechmarks :: [Benchmark DefaultParamMeaning] -> IO ()
- defaultMainModifyConfig :: (Config -> Config) -> IO ()
- data Flag
- all_cli_options :: [(String, [OptDescr Flag])]
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.
Command line flags.
all_cli_options :: [(String, [OptDescr Flag])]Source