The criterion package

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

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, 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 (info)
Change log changelog.md
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.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>
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 Wed Sep 3 21:06:39 UTC 2014 by BryanOSullivan
Updated Wed Aug 17 18:26:22 UTC 2016 by ryanglscott to revision 2   [What is this?]
Distributions Arch:1.2.6.0, Debian:1.1.0.0, FreeBSD:1.1.0.0, LTSHaskell:1.1.4.0, NixOS:1.2.6.0, Stackage:1.2.6.0, Tumbleweed:1.1.4.0
Executables criterion
Downloads 40088 total (4438 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

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-1.0.1.0

[back to package description]

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.