Skip to content

pjullrich/peterandcode

Back Align Rust and C++ sorting benchmarks for fair comparison

Commit details

Align Rust and C++ sorting benchmarks for fair comparison

Description

- Add std::sort benchmarks alongside qsort in C++ benchmark - Use identical xorshift64 PRNG in both Rust and C++ (removes rand dep) - Include alloc/dealloc in timed path to match real use case - Upgrade rustler to 0.36 (fixes NIF compilation linking error) - Upgrade C++ standard to C++23, add MinTime(2.0) for more iterations - Add Homebrew include/lib paths to Makefile for google-benchmark - Add Test Setup section and brew install step to README

Metadata

Author
Peter Ullrich PJUllrich@users.noreply.github.com
Committed
Commit

Contributors

  • Peter Ullrich PJUllrich@users.noreply.github.com Author