How to benchmark in Rust with libtest bench

This page summarizes the projects mentioned and recommended in the original post on /r/bencher

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • criterion.rs

    Statistics-driven benchmarking library for Rust

  • The three popular options for benchmarking in Rust are: libtest bench, Criterion, and Iai.

  • Fibonacci-Sequence

    Application that calculates the number that is located in the selected position. Made with Python and Tkinter library.

  • The Fibonacci sequence is a sequence in which each number is the sum of the two preceding numbers. For example, starting at 0 and 1 the next number in the Fibonacci sequence would be 1. Followed by: 2, 3, 5, 8 and so on. Numbers that are part of the Fibonacci sequence are known as Fibonacci numbers. So we're going to have to write a function that detects Fibonacci numbers.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • iai

    Experimental one-shot benchmarking/profiling harness for Rust

  • The three popular options for benchmarking in Rust are: libtest bench, Criterion, and Iai.

  • bencher

    bencher is just a port of the libtest (unstable) benchmark runner to Rust stable releases. `cargo bench` on stable. "Not a better bencher!" = No feature development. Go build a better stable benchmarking library. (by bluss)

  • libtest is Rust's built-in unit testing and benchmarking framework. Though part of the Rust standard library, libtest bench is still considered unstable, so it is only available on nightly compiler releases. To work on the stable Rust compiler, a separate benchmarking harness needs to be used. Neither is being actively developed, though.

  • bencher

    🐰 Bencher - Continuous Benchmarking

  • Luckily, I've found this awesome open source tool called Bencher. There's a super generous free tier, so I can just use Bencher Cloud for my personal projects. And at work where everything needs to be in our private cloud, I've started using Bencher Self-Hosted.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts