- data BuildResults = BuildResults {}
- mergeResults :: [BuildResults] -> BuildResults
- acceptResult :: String -> BuildResults -> BuildResults -> Maybe BuildResults
- advanceResults :: Double -> BuildResults -> BuildResults -> BuildResults
Documentation
mergeResults :: [BuildResults] -> BuildResultsSource
Merge some BuildResults.
If we have data for a named benchmark in multiple BuildResults
,
then we take the first one in the list.
The resultTime and environment is taken from the last BuildResults
,
in the list.
acceptResult :: String -> BuildResults -> BuildResults -> Maybe BuildResultsSource
Take test results from the first BuildResults
, except for the named
one which we take from the second. If the named test is not in the second
then take it from the first. If it's not anywhere then Nothing.
advanceResults :: Double -> BuildResults -> BuildResults -> BuildResultsSource
Advance benchmark results as per advanceBenchResults
.
The resultTime and environment is taken from the second BuildResults
.