aquatic_bench: test multiple threads at once, with disappointing results

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.
This commit is contained in:
Joakim Frostegård 2020-04-11 17:32:05 +02:00
parent eded822c31
commit 8d7cbb7926
8 changed files with 122 additions and 115 deletions

View file

@ -18,6 +18,7 @@ name = "plot_pareto"
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"