OCaml Benchmark is a small module to benchmark running times
of code. It supersedes an earlier version
by Doug Bagley.
A typical use looks like this:
For a complete description of the functions, see the
Some examples are also included in
res = throughputN 8 [("foo", f, 1000000);
1000000) ] in
If you have questions, suggestions, bugs,... you can contact
The source code is maintained in a Git repository stored on Github.
The code is released under the GNU Lesser General Public
License (LGPL) with the same special exception as for the
OCaml standard library (see the
file LICENSE for more