buildbox-1.0.2.0: Rehackable components for writing buildbots and test harnesses.

BuildBox.Benchmark.Compare

Description

Pretty printing comparisons of benchmark results.

Synopsis

Documentation

pprComparison :: BenchResult -> BenchResult -> DocSource

Pretty print a comparison of all the aspects of these two benchmark results. The first result is the `baseline', while the second is the `current' one. The numbers from the current results are printed, with a percentage relative to the baseline.

pprComparisons :: [BenchResult] -> [BenchResult] -> DocSource

Pretty print a comparison of all the aspects of these two benchmark results. The first result is the `baseline' while the second is the `current' one. All the numbers from the current results are printed, with a percentage relative to the baseline if there is one. If there is no baseline for a particular result then we still print the current one.