Commit Graph

11 Commits

Author SHA1 Message Date
1c6625a04c feat(runner): add TOML config file support for matrix benchmarks
- Add toml and serde dependencies
- Create config module with Config and BenchmarkConfig structs
- Add --config CLI option for matrix benchmarks
- Refactor `run_benchmark()` to accept BenchmarkConfig
2026-02-06 17:43:46 +02:00
a5f0253cc4 refactor(server): use base64 crate instead of custom implementation 2026-02-05 13:32:20 +02:00
46bc7960c1 feat(server): add structured logging with tracing 2026-02-04 15:53:20 +02:00
2972163055 feat(runner): add structured logging with tracing
- Add tracing, tracing-subscriber, uuid dependencies
- Replace eprintln! with info! for structured logs
- Add run_id, rust_version, os, arch to benchmark start log
2026-02-04 11:53:40 +02:00
b03cc2a386 feat(runner): add TLS 1.3 client with X25519
- Configure rustls client with aws_lc_rs, X25519-only key exchange
- Skip certificate verification for benchmarking (NoVerifier)
- Measure TLS handshake latency (TCP + TLS combined)
- TLS 1.3 protocol enforced
2026-01-28 18:30:40 +02:00
77b611b0fa ci: add cargo-husky pre-commit hooks 2026-01-26 16:48:51 +02:00
d128816956 refactor: rename crates 2026-01-26 16:17:04 +02:00
5accec5da4 feat(bench-server): add TLS 1.3 with X25519 key exchange
- Generate self-signed certificates on startup using rcgen
- Configure rustls with aws_lc_rs crypto provider
- Filter key exchange groups to X25519-only for mode=x25519
- Print CA certificate for client trust configuration
- TLS 1.3 protocol enforced
2026-01-26 16:09:27 +02:00
76109356c0 feat: implement raw TCP benchmark protocol
- protocol: 8-byte LE u64 request -> N-byte deterministic response
- bench-server: TCP server with per-connection handlers
- bench-runner: benchmark loop with warmup, NDJSON output
- Integration tested: server and client communicate correctly
2026-01-25 16:37:05 +02:00
09fb7821bb feat(bench-common): add certificate generation utilities
- CaCertificate: self-signed CA that can sign server certificates
- ServerCertificate: DER-encoded cert chain and private key
- generate_test_certs(): convenience helper for local testing
- Uses rcgen 0.14 for X.509 certificate generation
2026-01-25 16:29:33 +02:00
4cec80f30e feat: scaffold workspace with bench-common, bench-server, bench-runner
- bench-common: KeyExchangeMode enum, BenchRecord NDJSON struct
- bench-server: CLI stub with --mode and --listen
- bench-runner: CLI stub with --mode, --server, --payload-bytes, --iters, --warmup, --concurrency, --out
2026-01-25 16:23:19 +02:00