package core_bench

  1. Overview
  2. Docs
Benchmarking library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=a093a77179629a8baef03f58947aac9cf5da37cc0ed7fabdd651832c4fe4cfe5

Description

Published: 26 May 2024

README

"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.

Dependencies (15)

  1. re >= "1.8.0"
  2. dune >= "3.11.0"
  3. time_now >= "v0.17" & < "v0.18"
  4. textutils >= "v0.17" & < "v0.18"
  5. ppx_sexp_conv >= "v0.17" & < "v0.18"
  6. ppx_let >= "v0.17" & < "v0.18"
  7. ppx_jane >= "v0.17" & < "v0.18"
  8. ppx_fields_conv >= "v0.17" & < "v0.18"
  9. ppx_compare >= "v0.17" & < "v0.18"
  10. delimited_parsing >= "v0.17" & < "v0.18"
  11. core_unix >= "v0.17" & < "v0.18"
  12. core_kernel >= "v0.17" & < "v0.18"
  13. core_extended >= "v0.17" & < "v0.18"
  14. core >= "v0.17" & < "v0.18"
  15. ocaml >= "5.1.0"

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.