The microbench package
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".
Properties
| Version | 0.1 |
|---|---|
| Dependencies | base, time |
| License | BSD3 |
| 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 |
| Upload date | Sun Mar 2 22:18:49 UTC 2008 |
| Uploaded by | EvanMartin |
| Built on | ghc-6.10, ghc-6.12, ghc-6.8, ghc-7.0 |
Modules
Downloads
- microbench-0.1.tar.gz (Cabal source package)
- package description (included in the package)