Skip to content
Simple test case for rustc math speed
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.lock
Cargo.toml
README.md
runbench
test.c

README.md

rustc-math-bench

A simple benchmark of how fast rust is at floating point math compared to C.

See this rust issue for a discussion on how architecture-specific optimization could be leveraged to make rustc produce binaries that are both fast (because they take advantage of all available instructions) and portable (because they figure out at runtime which instructions the machine supports):

https://github.com/rust-lang/rust/issues/42432

Contributing

Feel free to send pull requests if you have a better idea how to benchmark at https://github.com/pedrocr/rustc-math-bench

You can’t perform that action at this time.