Update bencher settings and setup script

This commit is contained in:
Joakim Frostegård 2023-12-30 15:54:18 +01:00
parent 42a9e8f99e
commit 87e7811751
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,3 @@
# aquatic_load_tester
# aquatic_bencher
Automated load testing of aquatic and other BitTorrent trackers. Linux only.
Automated benchmarking of aquatic and other BitTorrent trackers. Linux only.

View file

@ -266,6 +266,7 @@ impl ProcessRunner for AquaticUdpRunner {
c.socket_workers = self.socket_workers;
c.swarm_workers = self.swarm_workers;
c.protocol.max_response_peers = 50;
let c = toml::to_string_pretty(&c)?;
@ -363,6 +364,8 @@ impl ProcessRunner for ChihayaUdpRunner {
udp:
addr: "127.0.0.1:3000"
private_key: "abcdefghijklmnopqrst"
max_numwant: 50
default_numwant: 50
storage:
name: "memory"
"#,
@ -412,7 +415,7 @@ impl ProcessRunner for AquaticUdpLoadTestRunner {
c.workers = self.workers as u8;
c.duration = 60;
c.requests.weight_connect = 100;
c.requests.weight_connect = 0;
c.requests.weight_announce = 100;
c.requests.weight_scrape = 1;