3e: median 619ms, max: 1039ms; 7.6 msg/op

This commit is contained in:
Joe Ardent 2025-09-12 15:36:07 -07:00
parent 19cbde32fd
commit 1949d84b7a

View file

@ -18,7 +18,8 @@ fn main() {
fn on_init(runner: &Runner) { fn on_init(runner: &Runner) {
let tx = runner.get_backdoor(); let tx = runner.get_backdoor();
thread::spawn(move || loop { thread::spawn(move || loop {
let millis = rand::thread_rng().gen_range(50..=60); //let millis = rand::thread_rng().gen_range(200..=800);
let millis = 200;
thread::sleep(Duration::from_millis(millis)); thread::sleep(Duration::from_millis(millis));
let body = Body::from_type("do_gossip"); let body = Body::from_type("do_gossip");
let msg = Message { let msg = Message {