feat(common,server): add ProtocolMode and route server through protocol dispatch

This commit is contained in:
2026-02-26 14:50:49 +02:00
parent 0ea39e7663
commit 6198e3ab2e
11 changed files with 79 additions and 47 deletions

View File

@@ -66,10 +66,11 @@ server mode="x25519" listen="127.0.0.1:4433":
# Run benchmark runner
[group("run")]
runner server mode="x25519" payload="1024" iters="100" warmup="10":
runner server mode="x25519" proto="raw" payload="1024" iters="100" warmup="10":
cargo run --release --bin runner -- \
--server {{server}} \
--mode {{mode}} \
--proto {{proto}} \
--payload-bytes {{payload}} \
--iters {{iters}} \
--warmup {{warmup}}