Skip to content

Commit 90b2e78

Browse files
chore: Update benchmark results, graph, and README
1 parent 2dde64e commit 90b2e78

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, 31 May 2026 06:43:42 UTC
16+
**Last Updated:** Mon, 01 Jun 2026 07:31:53 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 239.19 | 32.33 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 297.06 | 26.07 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 538.58 | 14.39 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 363.27 | 21.31 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 618.97 | 12.57 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 247.06 | 31.36 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 297.75 | 26.04 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 527.16 | 14.65 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 366.35 | 21.13 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 634.23 | 12.25 |
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
@@ -13963,5 +13963,40 @@
1396313963
"LatencyMs": 32.334579945976486,
1396413964
"Timestamp": "2026-05-31T06:42:41.666881173Z",
1396513965
"Version": "v1.8.14"
13966+
},
13967+
{
13968+
"LibraryName": "gorilla/websocket",
13969+
"ThroughputMBps": 527.16328125,
13970+
"LatencyMs": 14.646431593626856,
13971+
"Timestamp": "2026-06-01T07:30:53.295334702Z",
13972+
"Version": "v1.5.3"
13973+
},
13974+
{
13975+
"LibraryName": "lxzan/gws",
13976+
"ThroughputMBps": 634.23125,
13977+
"LatencyMs": 12.254359362220011,
13978+
"Timestamp": "2026-06-01T07:30:53.295334702Z",
13979+
"Version": "v1.9.1"
13980+
},
13981+
{
13982+
"LibraryName": "gobwas/ws",
13983+
"ThroughputMBps": 297.75390625,
13984+
"LatencyMs": 26.039658904558873,
13985+
"Timestamp": "2026-06-01T07:30:53.295334702Z",
13986+
"Version": "v1.4.0"
13987+
},
13988+
{
13989+
"LibraryName": "lesismal/nbio",
13990+
"ThroughputMBps": 366.35,
13991+
"LatencyMs": 21.132905264774124,
13992+
"Timestamp": "2026-06-01T07:30:53.295334702Z",
13993+
"Version": "v1.6.9"
13994+
},
13995+
{
13996+
"LibraryName": "coder/websocket",
13997+
"ThroughputMBps": 247.05859375,
13998+
"LatencyMs": 31.364912169747182,
13999+
"Timestamp": "2026-06-01T07:30:53.295334702Z",
14000+
"Version": "v1.8.14"
1396614001
}
1396714002
]

benchmark_performance.png

320 Bytes
Loading

0 commit comments

Comments
 (0)