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

BuildBox.Benchmark.TimeAspect

Description

Dealing with aspects of timing results.

Synopsis

Documentation

data TimeAspect Source

Aspects of a benchmark runtime we can talk about.

Instances

Enum TimeAspect 
Read TimeAspect 
Show TimeAspect 
Pretty TimeAspect

Get the pretty name of a TimeAspect.

takeTimeAspectOfBenchRunResult :: TimeAspect -> BenchRunResult -> Maybe FloatSource

Get a particular aspect of a benchmark result.

takeAvgTimeOfBenchResult :: TimeAspect -> BenchResult -> Maybe FloatSource

Get the average runtime from a benchmark result.

takeMinTimeOfBenchResult :: TimeAspect -> BenchResult -> Maybe FloatSource

Get the minimum runtime from a benchmark result.

takeMaxTimeOfBenchResult :: TimeAspect -> BenchResult -> Maybe FloatSource

Get the maximum runtime from a benchmark result.

takeMinAvgMaxOfBenchResult :: TimeAspect -> BenchResult -> Maybe (Float, Float, Float)Source

Get the min, avg, and max runtimes from this benchmark result.