Pretty printing comparisons of benchmark results.
- pprComparison :: BenchResult -> BenchResult -> Doc
- pprComparisons :: [BenchResult] -> [BenchResult] -> Doc
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.