This library provides a powerful but simple way to measure software performance. It provides both a framework for executing and analysing benchmarks and a set of driver functions that makes it easy to build and run benchmarks, and to analyse their results. The fastest way to get started is to read the online tutorial, followed by the documentation and examples in the Criterion.Main module. For examples of the kinds of reports that criterion generates, see the home page.


Keywords
bsd3, development, library, performance, program, testing, Propose Tags , Criterion, Criterion.Analysis, Criterion.IO, Criterion.IO.Printf, Criterion.Internal, Criterion.Main, Criterion.Main.Options, Criterion.Monad, Criterion.Report, Criterion.Types, github issue tracker, github repository, Mercurial mirror, bos@serpentine.com
License
BSD-3-Clause
Install
cabal install criterion-1.2.6.0

Documentation

Criterion: robust, reliable performance measurement

Hackage Build Status

This package provides the Criterion module, a Haskell library for measuring and analysing software performance.

To get started, read the online tutorial, and take a look at the programs in the examples directory.

Building and installing

To build and install criterion, just run

cabal install criterion

Get involved!

Please report bugs via the github issue tracker.

Master github repository:

  • git clone https://github.com/bos/criterion.git

There's also a Mercurial mirror:

  • hg clone https://bitbucket.org/bos/criterion

(You can create and contribute changes using either Mercurial or git.)

Authors

This library is written and maintained by Bryan O'Sullivan, bos@serpentine.com.