| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hyperion.Main
- defaultMain :: String -> [Benchmark] -> IO ()
- data Mode
- data ConfigMonoid = ConfigMonoid {}
- data ReportOutput a
- = ReportPretty
- | ReportJson a
- | ReportJsonFlat a
- nullOutputPath :: FilePath
- defaultConfig :: ConfigMonoid
- defaultMainWith :: ConfigMonoid -> String -> [Benchmark] -> IO ()
Documentation
data ReportOutput a Source #
Specify a particular way of reporting the benchmark results.
Constructors
| ReportPretty | |
| ReportJson a | |
| ReportJsonFlat a |
Instances
| Functor ReportOutput Source # | |
| Eq a => Eq (ReportOutput a) Source # | |
| Ord a => Ord (ReportOutput a) Source # | |
| Show a => Show (ReportOutput a) Source # | |
nullOutputPath :: FilePath Source #
The path to the null output file. This is "nul" on Windows and
"devnull" elsewhere.
Arguments
| :: ConfigMonoid | Preset Hyperion config. |
| -> String | Package name, user provided. |
| -> [Benchmark] | Benchmarks to be run. |
| -> IO () |