Skip to content

Commit 9f01708

Browse files
chore: Update benchmark results, graph, and README
1 parent cdbe35f commit 9f01708

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, 28 Jun 2026 06:46:34 UTC
16+
**Last Updated:** Mon, 29 Jun 2026 07:14:47 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 266.24 | 29.09 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 297.32 | 26.05 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 504.01 | 15.36 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.10 | 359.09 | 21.56 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 597.57 | 13.02 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 256.08 | 30.21 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 284.03 | 27.27 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 511.05 | 15.17 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.10 | 343.92 | 22.52 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 574.83 | 13.51 |
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
@@ -14943,5 +14943,40 @@
1494314943
"LatencyMs": 29.08642540442676,
1494414944
"Timestamp": "2026-06-28T06:45:37.588676783Z",
1494514945
"Version": "v1.8.15"
14946+
},
14947+
{
14948+
"LibraryName": "gorilla/websocket",
14949+
"ThroughputMBps": 511.05078125,
14950+
"LatencyMs": 15.16503680376675,
14951+
"Timestamp": "2026-06-29T07:13:50.730137613Z",
14952+
"Version": "v1.5.3"
14953+
},
14954+
{
14955+
"LibraryName": "lxzan/gws",
14956+
"ThroughputMBps": 574.8328125,
14957+
"LatencyMs": 13.513274240064366,
14958+
"Timestamp": "2026-06-29T07:13:50.730137613Z",
14959+
"Version": "v1.9.1"
14960+
},
14961+
{
14962+
"LibraryName": "gobwas/ws",
14963+
"ThroughputMBps": 284.02890625,
14964+
"LatencyMs": 27.274644691203854,
14965+
"Timestamp": "2026-06-29T07:13:50.730137613Z",
14966+
"Version": "v1.4.0"
14967+
},
14968+
{
14969+
"LibraryName": "lesismal/nbio",
14970+
"ThroughputMBps": 343.91796875,
14971+
"LatencyMs": 22.517465329441297,
14972+
"Timestamp": "2026-06-29T07:13:50.730137613Z",
14973+
"Version": "v1.6.10"
14974+
},
14975+
{
14976+
"LibraryName": "coder/websocket",
14977+
"ThroughputMBps": 256.08359375,
14978+
"LatencyMs": 30.207396876630252,
14979+
"Timestamp": "2026-06-29T07:13:50.730137613Z",
14980+
"Version": "v1.8.15"
1494614981
}
1494714982
]

benchmark_performance.png

273 Bytes
Loading

0 commit comments

Comments
 (0)