core_bench icon indicating copy to clipboard operation
core_bench copied to clipboard

Micro-benchmarking library for OCaml

Results 10 core_bench issues
Sort by recently updated
recently updated
newest added

`~show_output_as_sexp: true`, which is an option in `Display_config`, doesn't respect other options. For example, when `~show_samples: true` is given, the sexp doesn't add this entry in.

forwarded-to-js-devs

The example in the [documentation](https://www.ocaml.org/p/core_bench/v0.15.0/doc/Core_bench/Bench/index.html) results in the following error: ``` File "test.ml", line 8, characters 2-13: 8 | Command.run (Bench.make_command [ ^^^^^^^^^^^ Error (alert deprecated): Core.Command.run [since 2021-03] Use...

forwarded-to-js-devs

Hello, When using `Core_bench.Bench.Test.create` with a `~file_name` parameter, it is completely ignored? In this [MWE.txt](https://github.com/janestreet/core_bench/files/8939666/main.txt), I use a long descriptive name for the test and a simple name for the...

forwarded-to-js-devs

I've noticed that when running benchmarks, the first one that is specified is slower than the rest, even when the same function with the same inputs is benchmarked repeatedly. Here...

forwarded-to-js-devs

I would like to use the [faster-map](https://github.com/aantron/faster-map/) benchmark to test ongoing work on tail-recursion-modulo-cons ( https://github.com/ocaml/ocaml/pull/181 ); this means creating an empty switch from an experimental compiler, then building `faster-map`'s...

forwarded-to-js-devs

Hi! Core_bench makes is wonderfully easy to use; however, when trying to aggregate the results for reporting purposes, the diverse units throws a wrench in things. Could we add a...

forwarded-to-js-devs

Core_bench has some dependencies that don't work on windows (some things from core). I was wondering if it was possible to remove these dependencies, so that `core_bench` can be used...

forwarded-to-js-devs
not-clear-what-next-step-is

Hello, I am unable to build a program that uses `core_bench` under OCaml 4.09.0+bytecode-only. To reproduce the problem, the following instructions suffice: ``` git clone [email protected]:janestreet/core_bench.git cd core_bench git checkout...

forwarded-to-js-devs

I have a very short benchmark, written using `bench_fun`, that has a long initialization time. If I set a low quota, I don't see output from that one test, presumably...

forwarded-to-js-devs

Can we display data sorted (on the time or the percentage eg.) ?

forwarded-to-js-devs