package bechamel-perf

  1. Overview
  2. Docs
Linux perf's metrics for bechamel

Install

Dune Dependency

Authors

Maintainers

Sources

bechamel-0.3.0.tbz
sha256=d719040841a1a3be6f93699ae9bf1f8cb2c5d294f0218c0bc0a735386c2d71a0
sha512=dc1233d4dcf01a997a3fcbafc116df0aae22ea5a6c98c09e200e4aa984c558976c8290b3e14b1156519ad12a6cc4b1b9fa4adf3dc2458d373d77a07fb9f7acff

Description

A simple layer on Linux perf's metrics for bechamel to record and analyze them.

Published: 25 Jun 2022

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 (6)

  1. base-unix
  2. fmt >= "0.9.0"
  3. bechamel = version
  4. mperf
  5. dune >= "2.0.0"
  6. ocaml >= "4.08.0"

Dev Dependencies

None

Used by (1)

  1. ke >= "0.5"

Conflicts

None

OCaml

Innovation. Community. Security.