https://github.com/kfl/mini-benchmark-game
https://github.com/kfl/mini-benchmark-game
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kfl/mini-benchmark-game
- Owner: kfl
- Created: 2022-03-16T14:16:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-17T13:18:18.000Z (over 4 years ago)
- Last Synced: 2025-06-30T10:04:04.213Z (12 months ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Variants of the `bintrees` benchmark from "The Computer Language Benchmarks Game"
=================================================================================
Just for fun and giggles, don't take it too serious.
Dependencies
------------
* Rust and cargo, install via [`rustup`](https://rustup.rs/)
* Ocaml, install via [opam](https://opam.ocaml.org/), install `opam`
via brew on macOS:
brew install opam
* MLKit, install via [mlkit](https://elsman.com/mlkit/), install
`mlkit` via brew on macOS:
brew install mlkit
* [hyperfine](https://github.com/sharkdp/hyperfine) for benchmarking,
install via brew on macOS:
brew install hyperfine
Build and run benchmarks
------------------------
There is a `Makefile` that builds the various binaries and runs
`hyperfine`, run the benchmarks with:
make bench