OCaml Benchmark

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:

        open Benchmark
        let res = throughputN 8 [("foo", f, 1000000);
                                 ("bar", g, 1000000);
                                 ("baz", h, 1000000) ] in
        tabulate res

For a complete description of the functions, see the interface Benchmark.mli. Some examples are also included in the tarball.

If you have questions, suggestions, bugs,... you can contact me by email: Christophe.Troestler@umons.ac.be. 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 details).