criterion: Robust, reliable performance measurement and analysis

[ benchmarking, bsd3, development, library, performance, program, testing ] [ Propose Tags ]
Versions 0.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, 0.3.0, 0.4.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, (info)
Change log
Dependencies aeson (>=0.8), ansi‑wl‑pprint (>=, base (>=4.5 && <5), binary (>=, bytestring (>=0.9 && <1.0), cassava (>=, code‑page, containers, deepseq (>=, directory, filepath, ghc‑prim, Glob (>=0.7.2), hastache (>=0.6.0), js‑flot, js‑jquery, mtl (>=2), mwc‑random (>=, optparse‑applicative (>=0.13), parsec (>=3.1.0), statistics (>= && <0.14), text (>=0.11), time, transformers, transformers‑compat (>=0.4), vector (>=0.7.1), vector‑algorithms (>=0.4) [details]
License BSD-3-Clause
Copyright 2009-2016 Bryan O'Sullivan and others
Author Bryan O'Sullivan <>
Maintainer Bryan O'Sullivan <>
Revised Revision 1 made by ryanglscott at Thu Nov 17 13:40:08 UTC 2016
Category Development, Performance, Testing, Benchmarking
Home page
Bug tracker
Source repo head: git clone
Uploaded by BryanOSullivan at Mon Nov 7 16:22:09 UTC 2016
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 51678 total (484 in the last 30 days)
Rating 2.5 (votes: 4) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-17 [all 1 reports]
Hackage Matrix CI

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.

[Skip to Readme]





compile without optimizations


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for criterion-

[back to package description]

Criterion: robust, reliable performance measurement

Build Status

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

<a href="" target="_blank"><img src=""></img></a>

To get started, read the <a href="" target="_blank">online tutorial</a>, and take a look at the programs in the <a href="/examples" target="_blank">examples directory</a>.

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

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,