# Criterion.rs

> Statistics-driven microbenchmarking in Rust

Source: https://talira.ai/catalog/criterion-rs-p46c550w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / performance / benchmarking](https://talira.ai/categories/developer-tools/performance/benchmarking)
- Licence: MIT OR Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source, dual-licensed MIT or Apache 2.0.
- Free tier: yes[^1]
- Backed by: [Criterion-rs](https://talira.ai/orgs/criterion-rs.md)

Criterion.rs is a statistics-driven microbenchmarking library for Rust, a port of Haskell's criterion. Benchmarks run on stable Rust through cargo bench; it collects and stores statistical information from run to run, and its analysis reports whether and by how much performance changed since the last run, so regressions and optimizations are measured reliably. It writes HTML reports with charts, through gnuplot or the plotters crate. Active development moved from the bheisler/criterion.rs repository to the criterion-rs organization, which publishes the criterion crate.

## Links

- Website: https://criterion-rs.github.io/book/index.html
- GitHub: https://github.com/criterion-rs/criterion.rs
- Docs: https://criterion-rs.github.io/book/index.html

## Problems it solves

- find out whether my change made this Rust function slower
- benchmark Rust code on stable without nightly's test::Bencher
- catch small performance regressions in a Rust library before release
- compare two implementations of a Rust function with reliable statistics

## Features

- statistical detection of performance changes between runs
- works on stable Rust with cargo bench
- HTML reports with charts
- gnuplot or plotters chart backends

## Trust

Overall: 0.46 out of 1.
Signals: maintenance 0.49, adoption 0.54, momentum 0.48, community 0.86, backing 0.30, extensibility 0.00.

- last commit 52 days ago
- 6 commits in the last 90 days
- latest release criterion-v0.8.2 9 months ago
- 502 GitHub stars
- fast-growing: 502 stars in 13 months
- 141 contributors
- backed by Criterion-rs

## Sources

[^1]: https://github.com/criterion-rs/criterion.rs/blob/master/README.md (checked 24 Nov 2026)
