microbench: Microbenchmark Haskell code

[ bsd3, development, library ] [ Propose Tags ]
Versions 0.1
Dependencies base, time [details]
License BSD-3-Clause
Copyright (c) 2008 Evan Martin <martine@danga.com>
Author Evan Martin
Maintainer martine@danga.com
Category Development
Home page http://neugierig.org/software/darcs/browse/?r=microbench;a=summary
Uploaded by EvanMartin at Sun Mar 2 22:18:49 UTC 2008
Distributions NixOS:0.1, openSUSE:0.1
Downloads 587 total (6 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Microbenchmarking can be used to compare the speed of different approaches to the same operation. Since most code is very fast, to get accurate timing information you must run the operation many times and then divide to get the time per operation.

This library manages the microbenchmarking process: it finds how many iterations of a function are needed to get a good timing estimate per iteration and prints out a human-readable "Your code takes n nanoseconds to run, and can run n times per second".




Maintainer's Corner

For package maintainers and hackage trustees