Implement minimal benchmarking of dependency tracking

This commit is contained in:
2021-07-10 22:10:16 +02:00
parent 79ed599a2f
commit 308af218e1
4 changed files with 93 additions and 3 deletions

View File

@@ -17,8 +17,13 @@ lock_api = { version = "0.4", optional = true }
parking_lot = { version = "0.11", optional = true }
[dev-dependencies]
criterion = "0.3"
rand = "0.8"
[[bench]]
name = "mutex"
harness = false
[features]
# Feature names do not match crate names pending namespaced features.
lockapi = ["lock_api"]