From 25f268981f716ed8c56ea4450681ca5fd94bbe58 Mon Sep 17 00:00:00 2001 From: floor-licker Date: Fri, 30 Jan 2026 23:03:33 -0500 Subject: [PATCH] docs(readme): mention WS hot-path benchmark --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5fa38be..db5f91c 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ End-to-end performance with Polymarket's API, including network latency, JSON pa | **Order Book Updates (1000 ops)** | 159.6 µs ± 32 µs | 6,260 updates/sec, zero-allocation | | **Spread/Mid Calculations** | 70 ns ± 77 ns | 14.3M ops/sec, optimized BTreeMap | | **JSON Parsing (480KB)** | ~2.3 ms | SIMD-accelerated parsing (1.77x faster than serde_json) | +| **WS `book` hot path (decode + apply)** | ~0.28 µs / 2.01 µs / 7.70 µs | 1 / 16 / 64 levels-per-side, ~3.7–4.0x faster vs serde decode+apply (see `benches/ws_hot_path.rs`) | **Key Performance Optimizations:**