chronograph

measure timings of data evaluation

Latest on Hackage:0.2.0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by John Lato
Maintained by jwlato@gmail.com

The Chronograph data structure adds a measure field to an existing Haskell expression. This field will be the time necessary to evaluate the expression using an arbitrary evaluation strategy (WHNF by default).

Chronograph preserves laziness, so that the work of performing the evaluation is only done after the result is demanded.

If you want to benchmark your program, you should look to other packages like Criterion that perform statistical analysis of your results so you can determine how reliable they are. Chronograph just takes measurements, leaving the interpretation entirely to you.

Used by 1 package:
comments powered byDisqus