add async bench
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-08-23 13:30:51 +03:00
parent 699478f85e
commit 760f6d9415
3 changed files with 193 additions and 1 deletions
+8
View File
@@ -9,6 +9,10 @@ description = "Утилита загружающая базу данных ЧГ
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bench]]
name = "async_bench"
harness = false
[dependencies]
chgk_ledb_lib = {path = "../lib", features = ["async", "convert_async"]}
serde_json="1.0"
@@ -27,7 +31,11 @@ clap = { version = "4.2.7", features = ["derive"] }
futures = "0.3"
[dev-dependencies]
criterion = { version = "0.5.1", features = ["async_tokio"]}
tempfile = "3.3"
bincode = "^2.0.0-rc.2"
serde="1.0"
serde_derive="1.0"
futures = "0.3"
async-compression = { version = "0.4.1", default-features = false }
lazy_static = "1.4.0"