cargo-criterion-means

Crates.iocargo-criterion-means
lib.rscargo-criterion-means
version0.1.0
sourcesrc
created_at2023-11-28 18:00:45.351198
updated_at2023-12-05 16:17:50.730641
descriptionCargo command to gather the mean and standard error values from criterion benchmarks.
homepagehttps://github.com/CarlKCarlK/cargo-criterion-means
repositoryhttps://github.com/CarlKCarlK/cargo-criterion-means
max_upload_size
id1052229
size20,649
Carl Kadie (CarlKCarlK)

documentation

README

cargo-criterion-means

Cargo command to gather the mean and standard error values from criterion benchmarks.

Install

cargo install cargo-criterion-means

Run

cargo criterion-means [optional path to project root]

Output

It sends comma-delimited text to standard out. For example:

Group,Id,Mean(ns),StdErr(ns)
compare_is_consecutive,regular/avx2,3.0443,0.0080137
compare_is_consecutive,regular/avx512f,3.0232,0.0023419
compare_is_consecutive,regular/sse2,3.0785,0.0016257
compare_is_consecutive,regular2/sse2,4.3907,0.0038452
compare_is_consecutive,rotate/avx2,1.3775,0.0039389
compare_is_consecutive,rotate/avx512f,1.2408,0.0060673
compare_is_consecutive,rotate/sse2,1.996,0.0055311

You can then analyze and tabulate via a spreadsheet (pivot tables work great) or via a dataframe library such as Polars.

Commit count: 5

cargo fmt