| Safe Haskell | None |
|---|
Test.SBench.File.FileOps
- criterion2series :: Num a => [a] -> CriterionFile -> IO [(a, Double)]
- series2sbench :: (Show a, Real a, Show b, Real b) => (String, String) -> Maybe EvalMod -> Algorithm (c -> d) -> DataGen (e -> c) -> Title -> SBenchFile -> [(a, b)] -> IO SBenchFile
- series2sbench' :: (Show a, Real a, Show b, Real b) => (String, String) -> Maybe EvalMod -> Algorithm (c -> d) -> Data c -> Title -> SBenchFile -> [(a, b)] -> IO SBenchFile
- sbench2series :: FilePath -> IO (MetaInfo Double Double, [(Double, Double)])
Documentation
criterion2series :: Num a => [a] -> CriterionFile -> IO [(a, Double)]Source
Read the mean runtimes of a criterion data file and tuple them with seeds to a seed-runtime series.
Arguments
| :: (Show a, Real a, Show b, Real b) | |
| => (String, String) | (build options, runtime options) used for the measurement. |
| -> Maybe EvalMod | Evaluation mode for the input (e.g. as given to criterion for time measurements) |
| -> Algorithm (c -> d) | The function tested. |
| -> DataGen (e -> c) | The data generator used. |
| -> Title | Name the measurement should get when the graph is plotted. |
| -> SBenchFile | File the data should be stored in. |
| -> [(a, b)] | Data. |
| -> IO SBenchFile | The generated data file. |
Store a series of measurements over different inputs in a .sbench file. The SBench file format take some extra information about the measurement.
Arguments
| :: (Show a, Real a, Show b, Real b) | |
| => (String, String) | (build options, runtime options) used for the measurement. |
| -> Maybe EvalMod | Evaluation mode for the input (e.g. as given to criterion for time measurements) |
| -> Algorithm (c -> d) | The function tested. |
| -> Data c | The data used. |
| -> Title | Name the measurement should get when the graph is plotted. |
| -> SBenchFile | File the data should be stored in. |
| -> [(a, b)] | Data. |
| -> IO SBenchFile | The generated data file. |
Store a series of measurements with a single input in a .sbench file. The SBench file format take some extra information about the measurement.