Add some criterion benchmarks to help mesure improvements

This commit is contained in:
Clément Renault
2019-11-29 12:12:55 +01:00
committed by Clément Renault
parent 70f18a8086
commit d8ba405baf
4 changed files with 184 additions and 0 deletions

View File

@ -32,6 +32,7 @@ zerocopy = "0.2.8"
[dev-dependencies]
assert_matches = "1.3"
criterion = "0.3"
csv = "1.0.7"
indexmap = { version = "1.2.0", features = ["serde-1"] }
rustyline = { version = "5.0.0", default-features = false }
@ -39,3 +40,7 @@ structopt = "0.3.2"
tempfile = "3.1.0"
termcolor = "1.0.4"
toml = "0.5.3"
[[bench]]
name = "search_benchmark"
harness = false