Skip to content

Commit 4a791d5

Browse files
chore: Update benchmark results, graph, and README
1 parent 3c4660d commit 4a791d5

3 files changed

Lines changed: 43 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:** Thu, 20 Aug 2026 04:30:32 UTC
16+
**Last Updated:** Thu, 20 Aug 2026 04:33:24 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 249.23 | 31.02 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 272.69 | 28.45 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 516.02 | 15.03 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 334.76 | 23.08 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 593.20 | 13.12 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 471.91 | 16.47 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 574.12 | 13.53 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 958.14 | 8.10 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 659.20 | 11.79 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 1166.47 | 6.67 |
2525
<!-- BENCHMARK_TABLE_END -->
2626

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

benchmark/benchmark_history.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"LibraryName": "gorilla/websocket",
4+
"ThroughputMBps": 958.14140625,
5+
"LatencyMs": 8.098577894540293,
6+
"Timestamp": "2026-08-20T04:32:28.03483345Z",
7+
"Version": "v1.5.3"
8+
},
9+
{
10+
"LibraryName": "lxzan/gws",
11+
"ThroughputMBps": 1166.46875,
12+
"LatencyMs": 6.665192086157473,
13+
"Timestamp": "2026-08-20T04:32:28.03483345Z",
14+
"Version": "v1.10.1"
15+
},
16+
{
17+
"LibraryName": "gobwas/ws",
18+
"ThroughputMBps": 574.11640625,
19+
"LatencyMs": 13.525516792788919,
20+
"Timestamp": "2026-08-20T04:32:28.03483345Z",
21+
"Version": "v1.4.0"
22+
},
23+
{
24+
"LibraryName": "lesismal/nbio",
25+
"ThroughputMBps": 659.20078125,
26+
"LatencyMs": 11.794212214838755,
27+
"Timestamp": "2026-08-20T04:32:28.03483345Z",
28+
"Version": "v1.6.12"
29+
},
30+
{
31+
"LibraryName": "coder/websocket",
32+
"ThroughputMBps": 471.91484375,
33+
"LatencyMs": 16.47444503858118,
34+
"Timestamp": "2026-08-20T04:32:28.03483345Z",
35+
"Version": "v1.8.15"
36+
}
37+
]

benchmark_performance.png

-167 KB
Loading

0 commit comments

Comments
 (0)