package mperf

All checked builds pass
  1. Overview
  2. Docs
Bindings to Linux perf's metrics

Install

dune-project
 Dependency

Authors

Maintainers

Sources

bechamel-0.5.0.tbz
sha256=2f9aa544395fa62ea067352782988bf94d977162d4d3ee6e321e49a29c5ec868
sha512=80af7d3015fd3e63514b6241190f7fc96a1329480d98526dc426c8e24fdf2f196917a9bdae72ac7234e21b2835c38a5ac989cfc00360d9530afe52f97f58c79f

Description

Simple binding to Linux perf's metrics

Added to opam-repository:

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

  1. conf-linux-libc-dev build
  2. base-unix
  3. dune >= "2.0.0"
  4. ocaml >= "4.07"

Dev Dependencies

None

Optional Dependencies

None

Used by (1)

  1. bechamel-perf

Conflicts

None

Build status

Results of building mperf with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.5.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure