park-bench-0.1.1.0: A quick-and-dirty, low-friction benchmark tool with immediate feedback
Safe HaskellSafe-Inferred
LanguageHaskell2010

ParkBench

Synopsis

Documentation

data Benchmark Source #

A single benchmark.

benchmark Source #

Arguments

:: [Benchmark]

-> IO void 

Run a collection of benchmarks.

function Source #

Arguments

:: String

-> (a -> b)

-> a

-> Benchmark 

Benchmark a function. The result is evaluated to weak head normal form.

action Source #

Arguments

:: String

-> IO a

-> Benchmark 

Benchmark an IO action. The result is evaluated to weak head normal form.

file Source #

Arguments

:: FilePath

-> Benchmark