|
# 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
|
|
================================================================================
|
|
```
|