mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
- Adds scripts/agent/load-test.mjs to simulate N clients connecting to a relay. - Publishes video and view events at a configurable rate. - Measures write latency (Client -> Relay -> OK). - Monitors local relay process (CPU/Mem) if applicable. - Generates JSON report in artifacts/load-report-YYYYMMDD.json. - Includes guardrails against public relays. Test Run Summary (20 clients, 10s): - Total Requests: 377 - Successful: 377 - Throughput: 37.7 req/s - Avg Latency: 34.5ms - P95 Latency: 61.0ms