Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
criterion - Rust
[go: Go Back, main page]

Crate criterion [] [src]

A statistics-driven micro-benchmarking library written in Rust.

Features

  • Can benchmark native (Rust) programs and also foreign (C, Python, Go, etc) programs
  • Easily benchmark a program under several inputs
  • Easy migration from std::test::Bencher to criterion::Bencher
  • Plots!

Structs

Bencher

Helper struct to time routines

Criterion

The benchmark manager

Fun

Representing a function to benchmark together with a name of that function. Used together with bench_functions to represent one out of multiple functions under benchmark.