Bench |
Simple example of using bench:
{
open Core.Std
open Core_bench.Std
let main () =
let t1 =
Bench.Test.create ~name:"ArrayCreateInt1" (fun () ->
ignore (Array.create ~len:200 0))
in
let t2 =
Bench.Test.create ~name:"ArrayCreateInt2" (fun () ->
ignore (Array.create ~len:300 0))
in
Command.run (Bench.make_command [t1; t2;])
let () = main ()
}
|
Bench_command | |
Bench_table | |
Column | |
Defaults | |
Linear_algebra |
Some basic linear algebra code, so that basic operations can be done
without introducing a dependency on Lacaml/LAPACK.
|
Measurement | |
Mv_regression | |
Partial_array |
Arrays in which only some initial segment is meaningful.
|
Std | |
Test | |
Test_metrics | |
To_string | |
Verbosity |