package core_bench

  1. Overview
  2. Docs
Benchmarking library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=a093a77179629a8baef03f58947aac9cf5da37cc0ed7fabdd651832c4fe4cfe5

README.md.html

"Core_bench"

Core_bench is a library for running benchmarks written using the ppx_bench syntax extension.

See https://blog.janestreet.com/core_bench-micro-benchmarking-for-ocaml/ for the introduction.

To run the benchmarks when using dune, you usually need to define your own executable that calls Inline_benchmarks_public.Runner.main. You need to make sure that the benchmarks are linked into this executable, usually by adding (link_flags -linkall) to the executable stanza to make sure the library dependencies are not dropped by the compiler.

OCaml

Innovation. Community. Security.