criterion: Robust, reliable performance measurement and analysis

[ benchmarking, bsd3, development, library, performance, program, testing ] [ Propose Tags ]

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]

Flags

Automatic Flags
NameDescriptionDefault
chart

enable use of the Chart package

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 1.2.0.0, 1.2.1.0, 1.2.2.0, 1.2.3.0, 1.2.4.0, 1.2.5.0, 1.2.6.0, 1.3.0.0, 1.4.0.0, 1.4.1.0, 1.5.0.0, 1.5.1.0, 1.5.2.0, 1.5.3.0, 1.5.4.0, 1.5.5.0, 1.5.6.0, 1.5.6.1, 1.5.6.2, 1.5.7.0, 1.5.8.0, 1.5.9.0, 1.5.10.0, 1.5.11.0, 1.5.12.0, 1.5.13.0, 1.6.0.0, 1.6.1.0, 1.6.2.0, 1.6.3.0 (info)
Dependencies base (<5), bytestring (>=0.9 && <1.0), Chart (>=0.12), containers, data-accessor, deepseq (>=1.1.0.0), filepath, mtl, parallel, parsec, statistics (>=0.3.5), time, uvector (>=0.1.0.5), uvector-algorithms (>=0.2) [details]
License BSD-3-Clause
Copyright 2009 Bryan O'Sullivan
Author Bryan O'Sullivan <bos@serpentine.com>
Maintainer Bryan O'Sullivan <bos@serpentine.com>
Category Development, Performance, Testing
Uploaded by BryanOSullivan at 2009-12-11T00:45:00Z
Distributions Arch:1.6.1.0, Debian:1.5.6.2, Fedora:1.6.1.0, FreeBSD:1.1.0.0, LTSHaskell:1.6.3.0, NixOS:1.6.3.0, Stackage:1.6.3.0, openSUSE:1.6.3.0
Reverse Dependencies 28 direct, 3553 indirect [details]
Downloads 119515 total (330 in the last 30 days)
Rating 2.75 (votes: 8) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for criterion-0.4.0

[back to package description]
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 feel welcome to contribute new code or bug fixes.  You can
fetch the source repository from here:

darcs get http://darcs.serpentine.com/criterion


Authors
-------

Bryan O'Sullivan <bos@serpentine.com>