mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
add benchmarks for connect and announce handlers
This commit is contained in:
parent
35bf89f2ed
commit
496c06b72f
10 changed files with 229 additions and 11 deletions
|
|
@ -4,24 +4,34 @@ version = "0.1.0"
|
|||
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "aquatic"
|
||||
path = "src/lib/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "aquatic"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "bench_connect"
|
||||
|
||||
[[bin]]
|
||||
name = "bench_announce"
|
||||
|
||||
[dependencies]
|
||||
bittorrent_udp = { path = "../bittorrent_udp" }
|
||||
dashmap = "3"
|
||||
indexmap = "1"
|
||||
net2 = "0.2"
|
||||
|
||||
[dependencies.rand]
|
||||
version = "0.7"
|
||||
features = ["small_rng"]
|
||||
rand_distr = "0.2"
|
||||
|
||||
[dependencies.mio]
|
||||
version = "0.7"
|
||||
features = ["udp", "os-poll", "os-util"]
|
||||
|
||||
[dependencies.rand]
|
||||
version = "0.7"
|
||||
features = ["small_rng"]
|
||||
|
||||
[dev-dependencies]
|
||||
quickcheck = "0.9"
|
||||
quickcheck_macros = "0.9"
|
||||
Loading…
Add table
Add a link
Reference in a new issue