Skip to content

Commit 2dde64e

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

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:** Sat, 30 May 2026 06:03:03 UTC
16+
**Last Updated:** Sun, 31 May 2026 06:43:42 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 235.43 | 32.88 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 286.55 | 27.05 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 522.77 | 14.84 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 347.50 | 22.31 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 600.47 | 12.96 |
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 |
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
@@ -13928,5 +13928,40 @@
1392813928
"LatencyMs": 32.88263071266443,
1392913929
"Timestamp": "2026-05-30T06:02:03.426865524Z",
1393013930
"Version": "v1.8.14"
13931+
},
13932+
{
13933+
"LibraryName": "gorilla/websocket",
13934+
"ThroughputMBps": 538.5796875,
13935+
"LatencyMs": 14.387111935037469,
13936+
"Timestamp": "2026-05-31T06:42:41.666881173Z",
13937+
"Version": "v1.5.3"
13938+
},
13939+
{
13940+
"LibraryName": "lxzan/gws",
13941+
"ThroughputMBps": 618.96953125,
13942+
"LatencyMs": 12.566808998322564,
13943+
"Timestamp": "2026-05-31T06:42:41.666881173Z",
13944+
"Version": "v1.9.1"
13945+
},
13946+
{
13947+
"LibraryName": "gobwas/ws",
13948+
"ThroughputMBps": 297.06171875,
13949+
"LatencyMs": 26.068396455913255,
13950+
"Timestamp": "2026-05-31T06:42:41.666881173Z",
13951+
"Version": "v1.4.0"
13952+
},
13953+
{
13954+
"LibraryName": "lesismal/nbio",
13955+
"ThroughputMBps": 363.2703125,
13956+
"LatencyMs": 21.31459441789645,
13957+
"Timestamp": "2026-05-31T06:42:41.666881173Z",
13958+
"Version": "v1.6.9"
13959+
},
13960+
{
13961+
"LibraryName": "coder/websocket",
13962+
"ThroughputMBps": 239.18984375,
13963+
"LatencyMs": 32.334579945976486,
13964+
"Timestamp": "2026-05-31T06:42:41.666881173Z",
13965+
"Version": "v1.8.14"
1393113966
}
1393213967
]

benchmark_performance.png

455 Bytes
Loading

0 commit comments

Comments
 (0)