The criterion package

[Tags:bsd3, library, program, test]

This library provides a powerful but simple way to measure the performance of Haskell code. 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.

[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 base (<5), bytestring (>=0.9 && <1.0), Chart, containers, data-accessor, filepath, parallel, parsec, statistics (>=0.3.4), time, uvector, uvector-algorithms (>=0.2) [details]
License BSD3
Copyright 2009 Bryan O'Sullivan
Author Bryan O'Sullivan <>
Maintainer Bryan O'Sullivan <>
Stability Unknown
Category Development, Performance
Uploaded Sun Sep 27 06:56:11 UTC 2009 by BryanOSullivan
Distributions Arch:, Debian:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 24494 total (171 in the last 30 days)
1 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-12 [all 6 reports]


  • Criterion
    • Criterion.Analysis
    • Criterion.Config
    • Criterion.Environment
    • Criterion.IO
    • Criterion.Main
    • Criterion.Measurement
    • Criterion.MultiMap
    • Criterion.Plot
    • Criterion.Types


Maintainer's Corner

For package maintainers and hackage trustees

Readme for criterion

Readme for criterion-0.1

Criterion: robust, reliable performance measurement

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

To get started, read the documentation for the Criterion.Main module,
and take a look at the programs in the examples directory.

Get involved!

Please feel welcome to contribute new code or bug fixes.  You can
fetch the source repository from here:

darcs get


Bryan O'Sullivan <>