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), base‑compat (>=0.9), binary (>=, bytestring (>=0.9 && <1.0), cassava (>=, code‑page, containers, criterion, deepseq (>=, directory, exceptions (>=0.8.2 && <0.11), filepath, ghc‑prim, Glob (>=0.7.2), js‑flot, js‑jquery, microstache (>=1.0.1 && <1.1), mtl (>=2), mwc‑random (>=, optparse‑applicative (>=0.13), parsec (>=3.1.0), semigroups, 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 Sun Mar 11 15:24:31 UTC 2018
Category Development, Performance, Testing, Benchmarking
Home page
Bug tracker
Source repo head: git clone
Uploaded by ryanglscott at Sun Mar 4 23:29:18 UTC 2018
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables criterion-report
Downloads 51644 total (470 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 2018-03-04 [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


Embed the data files in the binary for a relocatable executable. (Warning: This will increase the executable size significantly.)


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

Hackage 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,