microbench: Microbenchmark Haskell code
|Dependencies||base, time [details]|
|Copyright||(c) 2008 Evan Martin <firstname.lastname@example.org>|
|Uploaded||by EvanMartin at Sun Mar 2 22:18:49 UTC 2008|
|Downloads||587 total (6 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|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".
For package maintainers and hackage trustees