Introduce the criterion dependency to bench the engine

This commit is contained in:
Kerollmops
2020-06-19 18:24:03 +02:00
parent 55a8941922
commit d6705d5529
3 changed files with 274 additions and 11 deletions

View File

@ -38,6 +38,13 @@ serde = { version = "1.0", features = ["derive"] }
tokio = { version = "0.2.15", features = ["full"] }
warp = "0.2.2"
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "search"
harness = false
[profile.release]
debug = true