The criterion package

[Tags:bsd3, library, 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 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]

Properties

Versions 0.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, 0.3.0, 0.4.0, 0.4.1.0, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.0.4, 0.5.0.5, 0.5.0.7, 0.5.0.8, 0.5.0.9, 0.5.0.10, 0.5.1.0, 0.5.1.1, 0.6.0.0, 0.6.0.1, 0.6.1.1, 0.6.2.0, 0.6.2.1, 0.8.0.0, 0.8.0.1, 0.8.0.2, 0.8.1.0, 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.1.0, 1.0.2.0, 1.1.0.0, 1.1.1.0, 1.1.4.0
Dependencies aeson (>=0.8), ansi-wl-pprint, base (>=4.5 && <5), binary (>=0.5.1.0), bytestring (>=0.9 && <1.0), cassava (>=0.3.0.0), containers, criterion, deepseq (>=1.1.0.0), directory, either, filepath, ghc-prim, Glob (>=0.7.2), hastache (>=0.6.0), mtl (>=2), mwc-random (>=0.8.0.3), optparse-applicative (>=0.8 && <0.10), parsec (>=3.1.0), statistics (>=0.13.2.1 && <0.14), text (>=0.11), time, transformers, vector (>=0.7.1), vector-algorithms (>=0.4) [details]
License BSD3
Copyright 2009-2014 Bryan O'Sullivan
Author Bryan O'Sullivan <bos@serpentine.com>
Maintainer Bryan O'Sullivan <bos@serpentine.com>
Stability Unknown
Category Development, Performance, Testing, Benchmarking
Home page http://www.serpentine.com/criterion
Bug tracker https://github.com/bos/criterion/issues
Source repository head: git clone https://github.com/bos/criterion.git
Uploaded Sat Aug 9 05:47:05 UTC 2014 by BryanOSullivan
Updated Wed Aug 17 18:26:33 UTC 2016 by ryanglscott to revision 3
Distributions Arch:1.1.4.0, Debian:1.1.0.0, FreeBSD:1.1.0.0, LTSHaskell:1.1.1.0, NixOS:1.1.4.0, Stackage:1.1.4.0, Tumbleweed:1.1.1.0
Downloads 24923 total (334 in the last 30 days)
Votes
1 []
Status Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for criterion

Readme for criterion-1.0.0.2

Criterion: robust, reliable performance measurement

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

<a href="http://www.serpentine.com/criterion/fibber.html" target="_blank"><img src="http://www.serpentine.com/criterion/fibber-screenshot.png"></img></a>

To get started, read the <a href="http://www.serpentine.com/criterion/tutorial.html" target="_blank">online tutorial</a>, and take a look at the programs in the <a href="/bos/criterion/tree/master/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 https://github.com/bos/criterion.git

There's also a Mercurial mirror:

  • hg clone https://bitbucket.org/bos/criterion

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

Authors

This library is written and maintained by Bryan O'Sullivan, bos@serpentine.com.