https://github.com/jlyonsmith/rs-bench-test
https://github.com/jlyonsmith/rs-bench-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jlyonsmith/rs-bench-test
- Owner: jlyonsmith
- Created: 2021-07-20T02:54:33.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-20T15:44:04.000Z (almost 5 years ago)
- Last Synced: 2025-12-25T01:12:42.288Z (6 months ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rs-bench-test
A quick test of Rust benchmarking using [Criterion](https:// github.com/bheisler/criterion.rs). Also shows how Rust can do tail recursion optimization for massive performance savings.
## Getting Started
1. [Install `Rust`](https://rustup.rs/)
2. `git clone` the repo
3. Run the benchmark with `cargo bench`
Observe the difference in performance between the regular, tail recursion optimized and looping version of the Fibonacci function.