Skip to content

Commit 2b3062e

Browse files
chore: Update benchmark results, graph, and README
1 parent 34ca3f2 commit 2b3062e

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:** Tue, 19 May 2026 06:35:17 UTC
16+
**Last Updated:** Wed, 20 May 2026 06:35:13 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 248.55 | 31.11 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 303.54 | 25.49 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 524.03 | 14.78 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 376.95 | 20.57 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 614.28 | 12.64 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 242.69 | 31.91 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 298.01 | 26.00 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 539.33 | 14.37 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 368.18 | 21.04 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 621.74 | 12.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
@@ -13543,5 +13543,40 @@
1354313543
"LatencyMs": 31.11416743677272,
1354413544
"Timestamp": "2026-05-19T06:34:17.342482611Z",
1354513545
"Version": "v1.8.14"
13546+
},
13547+
{
13548+
"LibraryName": "gorilla/websocket",
13549+
"ThroughputMBps": 539.32734375,
13550+
"LatencyMs": 14.365346590588102,
13551+
"Timestamp": "2026-05-20T06:34:12.920962392Z",
13552+
"Version": "v1.5.3"
13553+
},
13554+
{
13555+
"LibraryName": "lxzan/gws",
13556+
"ThroughputMBps": 621.73984375,
13557+
"LatencyMs": 12.513052459893922,
13558+
"Timestamp": "2026-05-20T06:34:12.920962392Z",
13559+
"Version": "v1.9.1"
13560+
},
13561+
{
13562+
"LibraryName": "gobwas/ws",
13563+
"ThroughputMBps": 298.00625,
13564+
"LatencyMs": 25.999530735513098,
13565+
"Timestamp": "2026-05-20T06:34:12.920962392Z",
13566+
"Version": "v1.4.0"
13567+
},
13568+
{
13569+
"LibraryName": "lesismal/nbio",
13570+
"ThroughputMBps": 368.184375,
13571+
"LatencyMs": 21.037262665614204,
13572+
"Timestamp": "2026-05-20T06:34:12.920962392Z",
13573+
"Version": "v1.6.9"
13574+
},
13575+
{
13576+
"LibraryName": "coder/websocket",
13577+
"ThroughputMBps": 242.68671875,
13578+
"LatencyMs": 31.90702068961077,
13579+
"Timestamp": "2026-05-20T06:34:12.920962392Z",
13580+
"Version": "v1.8.14"
1354613581
}
1354713582
]

benchmark_performance.png

655 Bytes
Loading

0 commit comments

Comments
 (0)