Skip to content

Commit

Permalink
test(bench): Switch to divan
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 8, 2024
1 parent 7425ee7 commit b0fea2b
Show file tree
Hide file tree
Showing 11 changed files with 499 additions and 1,035 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 b0fea2b

Please sign in to comment.