Benchmark dc_receive_imf() (#3128)

Don't count the account creation in the receive emails benchmark

Use Criterion's async support

See https://bheisler.github.io/criterion.rs/book/user_guide/benchmarking_async.html
This commit is contained in:
Hocuri
2022-03-16 20:30:33 +01:00
committed by GitHub
parent ae36a26045
commit ea7fc3a171
3 changed files with 91 additions and 1 deletions

2
Cargo.lock generated
View File

@@ -833,11 +833,13 @@ version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1604dafd25fba2fe2d5895a9da139f8dc9b319a5fe5354ca137cbbce4e178d10"
dependencies = [
"async-std",
"atty",
"cast",
"clap",
"criterion-plot",
"csv",
"futures",
"itertools",
"lazy_static",
"num-traits",