package bechamel

  1. Overview
  2. Docs
Yet Another Benchmark in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

bechamel-0.4.0.tbz
sha256=e9d26f9201fd98f860e9b3afad7a5d520f04ae9c95bea070f5d0ac2c26abff4d
sha512=eac5f8aa192d66ba70a28ce44bdbf6a849ff1a82a8efbaab87067e2ee06c00bcc04e6f16923948857eec41cb171e3915d1e4cb751be7cf95d4521d5dbe4dd858

Description

BEnchmark for a CHAMEL/camel/caml which is agnostic to the system. It's a micro-benchmark tool which lets the user to re-analyzes and prints samples.

Published: 05 Apr 2023

README

Bechamel - Agnostic benchmark tool in OCaml

Bechamel is a toolkit to do a micro-benchmarking on your functions. The user is able to extend metrics (depending on your machine). Intially, Bechamel can record monotonic clock & garbage collector. bechamel-perf can help you for perf metrics if you are a Linux user.

Bechamel can show results:

  • in your terminal with bechamel-notty

  • via a HTML + JavaScript page with bechamel-js

You can see an example of the produced HTML page here. Some examples exist which take the opportunity of the output and metrics:

  • fact.ml which produces an HTML + JavaScript report

  • list.ml which shows results into your terminal

  • sqrt.ml which uses perf metrics

The documentation is available here.

Dependencies (3)

  1. fmt >= "0.9.0"
  2. dune >= "2.0.0"
  3. ocaml >= "4.08.0"

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.