Skip to content

Commit

Permalink
use criterion for benches
Browse files Browse the repository at this point in the history
  • Loading branch information
henryboisdequin committed Mar 1, 2021
1 parent b19c14a commit 241e7eb
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 292 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Rust
/target
**/*.rs.bk
Cargo.lock

# Editors
.vscode
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## Changed
- The minimum Rust version has been bumped to 1.49.0. (#230)
- `hashbrown`'s benchmarks now use `criterion`

## [v0.10.0] - 2021-01-16

Expand Down
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@ bumpalo = { version = "3.5.0", optional = true }

[dev-dependencies]
lazy_static = "1.4"
rand = { version = "0.7.3", features = ["small_rng"] }
rand = { version = "0.8.3", features = ["small_rng"] }
rayon = "1.0"
fnv = "1.0.7"
serde_test = "1.0"
doc-comment = "0.3.1"
criterion = "0.3.4"

[[bench]]
name = "bench"
harness = false

[features]
default = ["ahash", "inline-more"]
Expand Down
Loading

0 comments on commit 241e7eb

Please sign in to comment.