Skip to content

Commit

Permalink
deps: update criterion dependency to v0.4.0 (bytecodealliance#5935)
Browse files Browse the repository at this point in the history
  • Loading branch information
koushiro authored Mar 7, 2023
1 parent 812b4b5 commit e2dcb19
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 80 deletions.
126 changes: 50 additions & 76 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ test-programs = { path = "crates/test-programs" }
wasmtime-runtime = { workspace = true }
tokio = { version = "1.8.0", features = ["rt", "time", "macros", "rt-multi-thread"] }
wast = { workspace = true }
criterion = "0.3.4"
criterion = "0.4.0"
num_cpus = "1.13.0"
memchr = "2.4"
async-trait = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion cranelift/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 0 additions & 2 deletions cranelift/codegen/benches/x64-evex-encoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit e2dcb19

Please sign in to comment.