Skip to content

Commit c8794ab

Browse files
chore: Update benchmark results, graph, and README
1 parent 4ae88b5 commit c8794ab

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:** Sat, 01 Aug 2026 05:42:31 UTC
16+
**Last Updated:** Sun, 02 Aug 2026 05:43:28 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 253.27 | 30.42 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 272.76 | 28.36 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 495.55 | 15.62 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 335.40 | 23.06 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 572.96 | 13.57 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 274.39 | 28.22 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 296.05 | 26.21 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 531.63 | 14.59 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 374.63 | 20.67 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 618.79 | 12.58 |
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
@@ -16098,5 +16098,40 @@
1609816098
"LatencyMs": 30.42156517983836,
1609916099
"Timestamp": "2026-08-01T05:41:34.915720894Z",
1610016100
"Version": "v1.8.15"
16101+
},
16102+
{
16103+
"LibraryName": "gorilla/websocket",
16104+
"ThroughputMBps": 531.63359375,
16105+
"LatencyMs": 14.591959335244699,
16106+
"Timestamp": "2026-08-02T05:42:31.651235497Z",
16107+
"Version": "v1.5.3"
16108+
},
16109+
{
16110+
"LibraryName": "lxzan/gws",
16111+
"ThroughputMBps": 618.79296875,
16112+
"LatencyMs": 12.57577567214398,
16113+
"Timestamp": "2026-08-02T05:42:31.651235497Z",
16114+
"Version": "v1.10.1"
16115+
},
16116+
{
16117+
"LibraryName": "gobwas/ws",
16118+
"ThroughputMBps": 296.053125,
16119+
"LatencyMs": 26.209535345218868,
16120+
"Timestamp": "2026-08-02T05:42:31.651235497Z",
16121+
"Version": "v1.4.0"
16122+
},
16123+
{
16124+
"LibraryName": "lesismal/nbio",
16125+
"ThroughputMBps": 374.6296875,
16126+
"LatencyMs": 20.667698936032664,
16127+
"Timestamp": "2026-08-02T05:42:31.651235497Z",
16128+
"Version": "v1.6.12"
16129+
},
16130+
{
16131+
"LibraryName": "coder/websocket",
16132+
"ThroughputMBps": 274.3859375,
16133+
"LatencyMs": 28.21736320306138,
16134+
"Timestamp": "2026-08-02T05:42:31.651235497Z",
16135+
"Version": "v1.8.15"
1610116136
}
1610216137
]

benchmark_performance.png

464 Bytes
Loading

0 commit comments

Comments
 (0)