Skip to content

Commit 55b1f94

Browse files
authored
Merge pull request #5342 from epage/divan
test(bench): Switch to divan
2 parents 7425ee7 + ea77b98 commit 55b1f94

File tree

12 files changed

+501
-1040
lines changed

12 files changed

+501
-1040
lines changed

Cargo.lock

+38-136
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clap_bench/Cargo.toml

+6-16
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,25 @@ release = false
1313

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

1919
[[bench]]
2020
harness = false
21-
name = "01_default"
22-
path = "benches/01_default.rs"
21+
name = "empty"
2322

2423
[[bench]]
2524
harness = false
26-
name = "02_simple"
27-
path = "benches/02_simple.rs"
25+
name = "simple"
2826

2927
[[bench]]
3028
harness = false
31-
name = "03_complex"
32-
path = "benches/03_complex.rs"
29+
name = "complex"
3330

3431
[[bench]]
3532
harness = false
36-
name = "04_new_help"
37-
path = "benches/04_new_help.rs"
33+
name = "rustup"
3834

3935
[[bench]]
4036
harness = false
41-
name = "05_ripgrep"
42-
path = "benches/05_ripgrep.rs"
43-
44-
[[bench]]
45-
harness = false
46-
name = "06_rustup"
47-
path = "benches/06_rustup.rs"
37+
name = "ripgrep"

clap_bench/benches/01_default.rs

-15
This file was deleted.

0 commit comments

Comments
 (0)