deps: update criterion dependency to v0.4.0 (#5935)
This commit is contained in:
@@ -35,7 +35,7 @@ sha2 = { version = "0.10.2", optional = true }
|
||||
# accomodated in `tests`.
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3"
|
||||
criterion = { version = "0.4.0", features = ["html_reports"] }
|
||||
similar = "2.1.0"
|
||||
|
||||
[build-dependencies]
|
||||
|
||||
@@ -37,8 +37,6 @@ mod x86 {
|
||||
/// Using an inner module to feature-gate the benchmarks means that we must
|
||||
/// manually specify how to run the benchmarks (see `criterion_main!`).
|
||||
pub fn run_benchmarks() {
|
||||
criterion::__warn_about_html_reports_feature();
|
||||
criterion::__warn_about_cargo_bench_support_feature();
|
||||
benches();
|
||||
Criterion::default().configure_from_args().final_summary();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user