From 977e6400068a79459b7194d41faefe2435e759aa Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 27 Sep 2025 00:34:40 +0200 Subject: [PATCH] Update. --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..dbbb132 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# RPubSub + +## Benchmark output + +```markdown +Starting WebSocket Pub/Sub Load Test... +Simulating 1000 subscribers and 10 publishers. +Publishing at ~1000 msg/sec for 15 seconds. +-------------------------------------------------------------------------------- +✅ All subscribers are connected and subscribed. Starting publishers... + +Test duration finished. Shutting down clients... + +================================================================================ + PERFORMANCE REPORT +================================================================================ +Test Duration: 15 seconds +Total Messages Sent: 13150 +Total Messages Rcvd: 2017832 +Message Loss: 0 (0.00%) +Actual Throughput: 134522.13 msg/sec +-------------------------------------------------------------------------------- +Latency Statistics (ms): + Average: 20.5333 ms + Min: 2.4199 ms + Max: 136.8260 ms + Median (p50): 18.9064 ms + 95th Percentile: 35.5563 ms + 99th Percentile: 55.3625 ms +================================================================================ +```