The criterion package

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

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, base (<5), bytestring (>=0.9 && <1.0), Chart (>=0.13 && <0.15), containers, data-accessor, deepseq (>=1.1.0.0), filepath, mtl, mwc-random (>=0.8.0.3), parsec (>=3.1.0), statistics (>=0.8.0.6 && <0.10), time, vector (>=0.7.0.0), vector-algorithms (>=0.4) [details]
License BSD3
Copyright 2009, 2010, 2011 Bryan O'Sullivan
Author Bryan O'Sullivan <bos@serpentine.com>
Maintainer Bryan O'Sullivan <bos@serpentine.com>
Stability Unknown
Category Development, Performance, Testing
Home page http://bitbucket.org/bos/criterion
Bug tracker http://bitbucket.org/bos/criterion/issues
Source repository head: hg clone http://bitbucket.org/bos/criterion
Uploaded Wed Sep 28 05:19:25 UTC 2011 by BryanOSullivan
Updated Sat Dec 20 11:03:14 UTC 2014 by HerbertValerioRiedel to revision 1
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 uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
chartenable use of the Chart packageDisabledAutomatic
gtkenable displaying charts in GTK+ windowsDisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for criterion

Readme for criterion-0.5.1.0

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.

Building and installing

To build and install criterion, just run

cabal install criterion

On Mac OS X, the Chart library that criterion uses is not available, so you'll have to build without it.

cabal install criterion -f-chart

This will lose you the ability to generate charts, but you'll still be able to generate CSV files and import them into your favourite spreadsheet, or gnuplot, or whatnot.

Get involved!

Please report bugs via the bitbucket issue tracker.

Master Mercurial repository:

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

There's also a git mirror:

  • git clone git://github.com/bos/criterion.git

(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.