mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
DashMap doesn't scale as well as I had hoped. Only the scrape handler performed somewhat better with more threads, since it doesn't exlusively lock the torrent map. The announce and connect handlers, however, gained barely nothing from more threads.
28 lines
No EOL
609 B
TOML
28 lines
No EOL
609 B
TOML
|
|
[package]
|
|
name = "aquatic_bench"
|
|
version = "0.1.0"
|
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "aquatic_bench"
|
|
|
|
[[bin]]
|
|
name = "bench_handlers"
|
|
|
|
[[bin]]
|
|
name = "plot_pareto"
|
|
|
|
[dependencies]
|
|
aquatic = { path = "../aquatic" }
|
|
bittorrent_udp = { path = "../bittorrent_udp" }
|
|
cli_helpers = { path = "../cli_helpers" }
|
|
dashmap = "3"
|
|
indicatif = "0.14"
|
|
mimalloc = { version = "0.1", default-features = false }
|
|
num-format = "0.4"
|
|
plotly = "0.4"
|
|
rand = { version = "0.7", features = ["small_rng"] }
|
|
rand_distr = "0.2"
|
|
serde = { version = "1", features = ["derive"] } |