Skip to content

Commit b1c4403

Browse files
authored
Merge pull request #709 from 0xdeafbeef/benches
chore: move to criterion benches from nightly
2 parents e16b65c + e542702 commit b1c4403

8 files changed

Lines changed: 538 additions & 585 deletions

File tree

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ edition = "2024"
1313

1414
# Make sure to sync this MSRV in the README badge and CI workflows
1515
rust-version = "1.85.0"
16+
autobenches = false
1617

1718
[lints.rust]
1819
missing_docs = "warn"
@@ -77,6 +78,7 @@ rayon = "1.2"
7778
fnv = "1.0.7"
7879
serde_test = "1.0"
7980
bumpalo = { version = "3.13.0", features = ["allocator-api2"] }
81+
criterion = { version = "0.7", features = ["html_reports"] }
8082

8183
[target.'cfg(unix)'.dev-dependencies]
8284
libc = "0.2.155"
@@ -116,6 +118,10 @@ default-hasher = ["dep:foldhash"]
116118
# time cost.
117119
inline-more = []
118120

121+
[[bench]]
122+
name = "bench"
123+
harness = false
124+
119125
[package.metadata.docs.rs]
120126
features = ["nightly", "rayon", "serde", "raw-entry"]
121127
rustdoc-args = ["--generate-link-to-definition"]

0 commit comments

Comments
 (0)