Skip to content

Commit

Permalink
Merge pull request #5342 from epage/divan
Browse files Browse the repository at this point in the history
test(bench): Switch to divan
  • Loading branch information
epage authored Feb 8, 2024
2 parents 7425ee7 + ea77b98 commit 55b1f94
Show file tree
Hide file tree
Showing 12 changed files with 501 additions and 1,040 deletions.
174 changes: 38 additions & 136 deletions Cargo.lock

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

22 changes: 6 additions & 16 deletions clap_bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,25 @@ release = false

[dev-dependencies]
clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "help"] }
criterion = "0.5.1"
divan = "0.1.11"
lazy_static = "1.4.0"

[[bench]]
harness = false
name = "01_default"
path = "benches/01_default.rs"
name = "empty"

[[bench]]
harness = false
name = "02_simple"
path = "benches/02_simple.rs"
name = "simple"

[[bench]]
harness = false
name = "03_complex"
path = "benches/03_complex.rs"
name = "complex"

[[bench]]
harness = false
name = "04_new_help"
path = "benches/04_new_help.rs"
name = "rustup"

[[bench]]
harness = false
name = "05_ripgrep"
path = "benches/05_ripgrep.rs"

[[bench]]
harness = false
name = "06_rustup"
path = "benches/06_rustup.rs"
name = "ripgrep"
15 changes: 0 additions & 15 deletions clap_bench/benches/01_default.rs

This file was deleted.

Loading

0 comments on commit 55b1f94

Please sign in to comment.