Benchfmt.rs: Bringing Go's benchmarking and benchstat workflow to Rust

16 points by witcher

Benchfmt.rs is a new Rust benchmark runner that integrates with Go’s benchstat workflow, allowing for detailed performance analysis with features like key-value projections and heap tracking. The author benchmarks varint and Prometheus Remote Write 2.0 decoding in both languages, demonstrating that Rust outperforms Go in these tests. The tool aims to enhance the benchmarking experience in Rust by providing a familiar workflow for Go developers.

Read the article

Discussion on Hacker News