Ben Chuanlong Du's Blog

It is never too late to learn.

Benchmark a Rust App

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. The built-in benchmarking is still unstable and will likely be deprecated.

  2. criterion is currently the best Rust crate for benchmarking.

Criterion

  1. With Rust stable, Criterion can only benchmark …