Skip to content

Commit d4172eb

Browse files
chore: Update benchmark results, graph, and README
1 parent 3fa9ffb commit d4172eb

3 files changed

Lines changed: 41 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Go WebSocket Library Comparison
1313
**Latest Benchmark Results:**
1414

1515
<!-- BENCHMARK_TABLE_START -->
16-
**Last Updated:** Sun, 05 Jul 2026 06:26:23 UTC
16+
**Last Updated:** Mon, 06 Jul 2026 06:54:37 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 266.60 | 29.08 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 300.16 | 25.76 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 526.08 | 14.72 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.11 | 362.52 | 21.38 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 598.78 | 12.98 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 265.36 | 29.20 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 295.16 | 26.21 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 532.82 | 14.53 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.11 | 367.90 | 21.06 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 609.02 | 12.76 |
2525
<!-- BENCHMARK_TABLE_END -->
2626

2727
**Performance Over Time: Throughput (MB/s):**

benchmark/benchmark_history.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15188,5 +15188,40 @@
1518815188
"LatencyMs": 29.077601819236786,
1518915189
"Timestamp": "2026-07-05T06:25:22.737021999Z",
1519015190
"Version": "v1.8.15"
15191+
},
15192+
{
15193+
"LibraryName": "gorilla/websocket",
15194+
"ThroughputMBps": 532.815625,
15195+
"LatencyMs": 14.533596577146175,
15196+
"Timestamp": "2026-07-06T06:53:40.461481504Z",
15197+
"Version": "v1.5.3"
15198+
},
15199+
{
15200+
"LibraryName": "lxzan/gws",
15201+
"ThroughputMBps": 609.0203125,
15202+
"LatencyMs": 12.76482978554184,
15203+
"Timestamp": "2026-07-06T06:53:40.461481504Z",
15204+
"Version": "v1.9.1"
15205+
},
15206+
{
15207+
"LibraryName": "gobwas/ws",
15208+
"ThroughputMBps": 295.15703125,
15209+
"LatencyMs": 26.211140256378357,
15210+
"Timestamp": "2026-07-06T06:53:40.461481504Z",
15211+
"Version": "v1.4.0"
15212+
},
15213+
{
15214+
"LibraryName": "lesismal/nbio",
15215+
"ThroughputMBps": 367.89765625,
15216+
"LatencyMs": 21.056830512901644,
15217+
"Timestamp": "2026-07-06T06:53:40.461481504Z",
15218+
"Version": "v1.6.11"
15219+
},
15220+
{
15221+
"LibraryName": "coder/websocket",
15222+
"ThroughputMBps": 265.36171875,
15223+
"LatencyMs": 29.200513450096125,
15224+
"Timestamp": "2026-07-06T06:53:40.461481504Z",
15225+
"Version": "v1.8.15"
1519115226
}
1519215227
]

benchmark_performance.png

423 Bytes
Loading

0 commit comments

Comments
 (0)