Skip to content

CarlKCarlK/cargo-criterion-means

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published