How to Use criterion for Statistical Benchmarking

Configure criterion with cargo_bench_support and run benchmarks using cargo bench with the walltime feature.

Add criterion as a dev-dependency with the cargo_bench_support feature, define a [[bench]] section in Cargo.toml with harness = false, and run benchmarks using cargo bench with the walltime feature.

[dev-dependencies]
criterion = { version = "0.8.2", default-features = false, features = ["cargo_bench_support"] }

[[bench]]
name = "float_add"
harness = false
required-features = ["walltime"]
cargo bench --features walltime --bench float_add