Skip to content

Commit ebedc01

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

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, 29 Jun 2026 07:14:47 UTC
16+
**Last Updated:** Tue, 30 Jun 2026 06:40:47 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
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 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 254.13 | 30.48 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 278.35 | 27.79 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 499.91 | 15.50 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.10 | 349.47 | 22.16 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 577.13 | 13.47 |
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
@@ -14978,5 +14978,40 @@
1497814978
"LatencyMs": 30.207396876630252,
1497914979
"Timestamp": "2026-06-29T07:13:50.730137613Z",
1498014980
"Version": "v1.8.15"
14981+
},
14982+
{
14983+
"LibraryName": "gorilla/websocket",
14984+
"ThroughputMBps": 499.91171875,
14985+
"LatencyMs": 15.499988279180544,
14986+
"Timestamp": "2026-06-30T06:39:50.994383117Z",
14987+
"Version": "v1.5.3"
14988+
},
14989+
{
14990+
"LibraryName": "lxzan/gws",
14991+
"ThroughputMBps": 577.134375,
14992+
"LatencyMs": 13.474416973949957,
14993+
"Timestamp": "2026-06-30T06:39:50.994383117Z",
14994+
"Version": "v1.9.1"
14995+
},
14996+
{
14997+
"LibraryName": "gobwas/ws",
14998+
"ThroughputMBps": 278.35234375,
14999+
"LatencyMs": 27.786741736389637,
15000+
"Timestamp": "2026-06-30T06:39:50.994383117Z",
15001+
"Version": "v1.4.0"
15002+
},
15003+
{
15004+
"LibraryName": "lesismal/nbio",
15005+
"ThroughputMBps": 349.4703125,
15006+
"LatencyMs": 22.15929688233532,
15007+
"Timestamp": "2026-06-30T06:39:50.994383117Z",
15008+
"Version": "v1.6.10"
15009+
},
15010+
{
15011+
"LibraryName": "coder/websocket",
15012+
"ThroughputMBps": 254.134375,
15013+
"LatencyMs": 30.476393517209154,
15014+
"Timestamp": "2026-06-30T06:39:50.994383117Z",
15015+
"Version": "v1.8.15"
1498115016
}
1498215017
]

benchmark_performance.png

1.07 KB
Loading

0 commit comments

Comments
 (0)