Commit graph

23 commits

Author SHA1 Message Date
Joakim Frostegård
473276cd46 Switch to rust edition 2021 2021-11-24 18:56:26 +01:00
Joakim Frostegård
32541c5c15 Upgrade hashbrown 2021-08-15 22:29:09 +02:00
Joakim Frostegård
fe11ed138a Use (patched) crates.io deps for crates, add some package metadata 2020-09-13 17:30:26 +02:00
Joakim Frostegård
9efc1fc66a add aquatic crate with master executable, refactor cli_helpers 2020-08-13 00:13:01 +02:00
Joakim Frostegård
1b8d74e26d rename aquatic to aquatic_udp, same for bench and load test crates 2020-05-11 16:55:46 +02:00
Joakim Frostegård
6110017980 aquatic: add setting for dropping privileges after opening sockets 2020-05-06 15:54:03 +02:00
Joakim Frostegård
352f571c42 Decide to use Apache 2.0 license, add file and update Cargo.toml's 2020-04-20 16:54:43 +02:00
Joakim Frostegård
e61c961126 Use hashbrown hashmap directly for faster hash (ahash) 2020-04-12 13:19:07 +02:00
Joakim Frostegård
558ddadf28 Remove DashMap, use parking_lot::Mutex<HashMap> instead 2020-04-11 22:07:09 +02:00
Joakim Frostegård
70cc193522 Use crossbeam channel insteaf of SegQueue
Reduces overutilization of CPU greatly
2020-04-11 21:11:25 +02:00
Joakim Frostegård
3527952242 start work on using seperate threads for sockets and handlers 2020-04-11 19:35:15 +02:00
Joakim Frostegård
ac52668a3d add crate cli_helpers with option and config parsing; use in aquatic
Putting cli functionality into its own crate will allow using it
from aquatic_bench and possibly other programs.
2020-04-09 16:55:40 +02:00
Joakim Frostegård
51590a3d6c aquatic: print stats about number of peers per torrent 2020-04-07 16:57:34 +02:00
Joakim Frostegård
51f2fcea45 turn of mimalloc security features, seemingly improving performance 2020-04-06 14:38:59 +02:00
Joakim Frostegård
165214018c Move benchmarks to seperate crate "aquatic_bench" 2020-04-06 12:49:54 +02:00
Joakim Frostegård
8c57b3c4fe bench_handlers: run several test rounds, print averages 2020-04-06 03:43:06 +02:00
Joakim Frostegård
9d66a5e7d0 Use mimalloc instead of system allocator 2020-04-06 02:42:23 +02:00
Joakim Frostegård
f3f196bd0d refactor benchmarks into one bin: bench_handlers 2020-04-05 16:17:47 +02:00
Joakim Frostegård
ab457aaf82 bench: add pareto plot util; use other shape in bench; refactor 2020-04-05 16:00:48 +02:00
Joakim Frostegård
570be610d6 add scrape benchmark to announce benchmark 2020-04-05 14:20:13 +02:00
Joakim Frostegård
496c06b72f add benchmarks for connect and announce handlers 2020-04-05 13:51:31 +02:00
Joakim Frostegård
c26fc942e3 Add quickcheck tests; actually delete types.rs file 2020-04-05 04:07:18 +02:00
Joakim Frostegård
ace2e1a296 Initial commit: aquatic, udp bittorrent tracker 2020-04-04 22:08:32 +02:00