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), binary (>=, bytestring (>=0.9 && <1.0), containers, deepseq (>=, directory, filepath, ghc-prim, Glob (>=0.7.2), hastache (>=0.6.0), mtl (>=2), mwc-random (>=, parsec (>=3.1.0), statistics (>= && <, text (>=0.11), time, transformers, vector (>=0.7.1), vector-algorithms (>=0.4) [details]
License BSD3
Copyright 2009-2013 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 Wed Apr 9 18:22:21 UTC 2014 by BryanOSullivan
Updated Sat Dec 20 11:27:48 UTC 2014 by HerbertValerioRiedel to revision 1
Distributions Arch:, Debian:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 24490 total (175 in the last 30 days)
1 []
Status Docs available [build log]
Successful builds reported [all 1 reports]




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,