The criterion package

[Tags:bsd3, library, program, test]

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 documentation and examples in the Criterion.Main module.

For an example of the kinds of reports that criterion generates, see

[Skip to Readme]


Versions 0.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, 0.3.0, 0.4.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies aeson (>=, base (<4.8), bytestring (>=0.9 && <1.0), containers, deepseq (>= && <1.4), directory, filepath, hastache (>=0.1.5 && <0.5), mtl (>=2), mwc-random (>=, parsec (>=3.1.0), statistics (==0.10.*), time, transformers, vector (>=0.7.1), vector-algorithms (>=0.4) [details]
License BSD3
Copyright 2009, 2010, 2011 Bryan O'Sullivan
Author Bryan O'Sullivan <>
Maintainer Bryan O'Sullivan <>
Stability Unknown
Category Development, Performance, Testing, Benchmarking
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Sat Jan 21 22:32:51 UTC 2012 by BryanOSullivan
Updated Mon Jan 5 19:16:57 UTC 2015 by HerbertValerioRiedel to revision 2
Distributions Arch:, Debian:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 24450 total (140 in the last 30 days)
1 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for criterion

Readme for criterion-

Criterion: robust, reliable performance measurement

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

To get started, read the documentation for the Criterion.Main module, 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 git://

There's also a Mercurial mirror:

  • hg clone

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


This library is written and maintained by Bryan O'Sullivan,