Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mirage/bechamel
Agnostic benchmark in OCaml (proof-of-concept)
https://github.com/mirage/bechamel
Last synced: about 1 month ago
JSON representation
Agnostic benchmark in OCaml (proof-of-concept)
- Host: GitHub
- URL: https://github.com/mirage/bechamel
- Owner: mirage
- License: mit
- Created: 2018-11-09T11:23:40.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T09:34:33.000Z (6 months ago)
- Last Synced: 2024-08-02T13:30:07.157Z (4 months ago)
- Language: OCaml
- Size: 1.01 MB
- Stars: 44
- Watchers: 5
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-luooooob - mirage/bechamel - Agnostic benchmark in OCaml (proof-of-concept) (OCaml)
- awesome-list - bechamel - of-concept) | mirage | 33 | (OCaml)
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][html-example]. Some
examples exist which take the opportunity of the output and metrics:
- [fact.ml][fact.ml] which produces an HTML + JavaScript report
- [list.ml][list.ml] which shows results into your terminal
- [sqrt.ml][sqrt.ml] which uses `perf` metricsThe documentation is available [here][documentation].
[html-example]: https://mirage.github.io/bechamel/fact.html
[fact.ml]: examples/fact.ml
[list.ml]: examples/list.ml
[sqrt.ml]: examples/sqrt.ml
[documentation]: https://mirage.github.io/bechamel