Live Benchmark Test
Compare PP, Socket.io, and raw WebSocket on the same connection. Run latency (median, P99) and throughput (msg/s) for all three at once and see the results side by side.
Note: The numbers in the docs (e.g. 0.34 ms, 58k msg/s) are from local / same-machine benchmarks. This live test measures your internet round-trip to the server — so results like 20–50 ms and 10k–30k msg/s are normal and expected. Lower is better; the protocol overhead is the same, the rest is your connection.
Compare PP, Socket.io, and raw WebSocket over the same connection. All tests hit the same server; results depend on your network.
| Metric | PP | Socket.io | WS (raw) |
|---|---|---|---|
| Latency median (ms) | — | — | — |
| Latency P99 (ms) | — | — | — |
| Throughput (msg/s) | — | — | — |
Reference (same-machine): PP ~0.34 ms median, ~58k msg/s. Your numbers include internet RTT.
Delta Engine: The Gaming Benchmark
This test connects to a simulated 100-player 60-FPS multiplayer server.
In Full JSON mode, the server broadcasts the entire user state array every tick.
In Delta Engine mode, it runs `diff()` and broadcasts tiny PP patches.
Legacy (Full JSON)
0.00 KB
in 0 ticks
PP Delta Engine
0.00 KB
in 0 ticks