https://github.com/rustyyato/f32-perf-test
https://github.com/rustyyato/f32-perf-test
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/rustyyato/f32-perf-test
- Owner: RustyYato
- Created: 2024-02-21T00:09:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T22:16:29.000Z (over 2 years ago)
- Last Synced: 2025-01-30T19:16:27.637Z (over 1 year ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# f32-perf-test
This crate was created to benchmark the difference between multiple implementations of f32::midpoint.
in this PR: https://github.com/rust-lang/rust/pull/121062
To run the benchmark, you must have Rust installed, and `cargo` installed (Rust's package manager).
Simply run:
```sh
cargo bench
```
You may want to tweak the RUSTFLAGS to include `-C target-cpu=native` to check if that improves performance!