Move benchmarks to seperate crate "aquatic_bench"

This commit is contained in:
Joakim Frostegård 2020-04-06 12:49:54 +02:00
parent a627594c3a
commit 165214018c
13 changed files with 40 additions and 34 deletions

View file

@ -11,31 +11,14 @@ path = "src/lib/lib.rs"
[[bin]]
name = "aquatic"
[[bin]]
name = "bench_handlers"
[[bin]]
name = "plot_pareto"
[dependencies]
bittorrent_udp = { path = "../bittorrent_udp" }
dashmap = "3"
indexmap = "1"
mimalloc = "0.1"
mio = { version = "0.7", features = ["udp", "os-poll", "os-util"] }
net2 = "0.2"
# bench_handlers / plot_pareto
num-format = "0.4"
rand_distr = "0.2"
plotly = "0.4"
[dependencies.mio]
version = "0.7"
features = ["udp", "os-poll", "os-util"]
[dependencies.rand]
version = "0.7"
features = ["small_rng"]
rand = { version = "0.7", features = ["small_rng"] }
[dev-dependencies]
quickcheck = "0.9"