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
This commit is contained in:
2026-01-28 18:27:08 +02:00
parent e7c97070ca
commit b03cc2a386
6 changed files with 131 additions and 17 deletions

View File

@@ -55,6 +55,7 @@ impl fmt::Display for BenchRecord {
#[cfg(test)]
mod tests {
use super::*;
use std::str::FromStr;
#[test]
fn bench_record_serializes_to_ndjson() {
@@ -73,7 +74,6 @@ mod tests {
#[test]
fn key_exchange_mode_from_str() {
use std::str::FromStr;
assert_eq!(
KeyExchangeMode::from_str("x25519").expect("should parse"),
KeyExchangeMode::X25519