aquatic_http_load_test: store connections in a slab::Slab

This commit is contained in:
Joakim Frostegård 2020-07-20 16:30:47 +02:00
parent a2a2fa5807
commit 6691b77824
4 changed files with 22 additions and 12 deletions

8
Cargo.lock generated
View file

@ -104,7 +104,6 @@ dependencies = [
"anyhow",
"aquatic_cli_helpers",
"aquatic_http_protocol",
"hashbrown",
"mimalloc",
"mio",
"quickcheck",
@ -112,6 +111,7 @@ dependencies = [
"rand",
"rand_distr",
"serde",
"slab",
]
[[package]]
@ -1680,6 +1680,12 @@ dependencies = [
"termcolor",
]
[[package]]
name = "slab"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
[[package]]
name = "smallvec"
version = "1.4.0"