Skip to content

Commit 08ed19a

Browse files
chore: Update benchmark results, graph, and README
1 parent d181da1 commit 08ed19a

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:** Mon, 17 Aug 2026 03:30:59 UTC
16+
**Last Updated:** Tue, 18 Aug 2026 03:26:04 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 257.09 | 30.09 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 279.85 | 27.68 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 521.54 | 14.87 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 353.39 | 21.91 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 594.96 | 13.07 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 316.17 | 24.50 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 382.56 | 20.28 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 645.20 | 12.03 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 448.54 | 17.32 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 803.02 | 9.69 |
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
@@ -16658,5 +16658,40 @@
1665816658
"LatencyMs": 30.090680904469167,
1665916659
"Timestamp": "2026-08-17T03:30:02.743498754Z",
1666016660
"Version": "v1.8.15"
16661+
},
16662+
{
16663+
"LibraryName": "gorilla/websocket",
16664+
"ThroughputMBps": 645.20078125,
16665+
"LatencyMs": 12.029794504375454,
16666+
"Timestamp": "2026-08-18T03:25:08.082368037Z",
16667+
"Version": "v1.5.3"
16668+
},
16669+
{
16670+
"LibraryName": "lxzan/gws",
16671+
"ThroughputMBps": 803.0171875,
16672+
"LatencyMs": 9.694045504163011,
16673+
"Timestamp": "2026-08-18T03:25:08.082368037Z",
16674+
"Version": "v1.10.1"
16675+
},
16676+
{
16677+
"LibraryName": "gobwas/ws",
16678+
"ThroughputMBps": 382.56484375,
16679+
"LatencyMs": 20.2791213907773,
16680+
"Timestamp": "2026-08-18T03:25:08.082368037Z",
16681+
"Version": "v1.4.0"
16682+
},
16683+
{
16684+
"LibraryName": "lesismal/nbio",
16685+
"ThroughputMBps": 448.540625,
16686+
"LatencyMs": 17.317329464304375,
16687+
"Timestamp": "2026-08-18T03:25:08.082368037Z",
16688+
"Version": "v1.6.12"
16689+
},
16690+
{
16691+
"LibraryName": "coder/websocket",
16692+
"ThroughputMBps": 316.17421875,
16693+
"LatencyMs": 24.504419290195525,
16694+
"Timestamp": "2026-08-18T03:25:08.082368037Z",
16695+
"Version": "v1.8.15"
1666116696
}
1666216697
]

benchmark_performance.png

93 Bytes
Loading

0 commit comments

Comments
 (0)