bechamel

Yet Another Benchmark in OCaml
README

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.

Install
Sources
bechamel-0.2.0.tbz
sha256=e0fc3145434b93f5e6a48d03803a5f33d7326698f7b03dbb097ed8c716d68be8
sha512=fbb558e2e35dbe1756159d52619a48446b1bbeb56e17c88ddb1cb68f79475d5db1c21f5b3c3c077d724102604d3f7940b2a497b64dc8d94dea4d94ad67b89ff1
Dependencies
fmt
>= "0.9.0"
dune
>= "2.0.0"
ocaml
>= "4.08.0"
Reverse Dependencies