Skip to content

Commit add8e85

Browse files
chore: Update benchmark results, graph, and README
1 parent b20a945 commit add8e85

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:** Fri, 22 May 2026 06:34:05 UTC
16+
**Last Updated:** Sat, 23 May 2026 05:55:12 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 282.83 | 27.45 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 350.66 | 22.13 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 597.35 | 12.98 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 412.12 | 18.83 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 672.86 | 11.57 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 236.79 | 32.67 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 289.17 | 26.76 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 523.04 | 14.83 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 357.31 | 21.66 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 606.94 | 12.82 |
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
@@ -13648,5 +13648,40 @@
1364813648
"LatencyMs": 27.446319069243263,
1364913649
"Timestamp": "2026-05-22T06:33:08.167993119Z",
1365013650
"Version": "v1.8.14"
13651+
},
13652+
{
13653+
"LibraryName": "gorilla/websocket",
13654+
"ThroughputMBps": 523.0390625,
13655+
"LatencyMs": 14.827631480679322,
13656+
"Timestamp": "2026-05-23T05:54:11.571994786Z",
13657+
"Version": "v1.5.3"
13658+
},
13659+
{
13660+
"LibraryName": "lxzan/gws",
13661+
"ThroughputMBps": 606.9390625,
13662+
"LatencyMs": 12.820885282449588,
13663+
"Timestamp": "2026-05-23T05:54:11.571994786Z",
13664+
"Version": "v1.9.1"
13665+
},
13666+
{
13667+
"LibraryName": "gobwas/ws",
13668+
"ThroughputMBps": 289.1734375,
13669+
"LatencyMs": 26.762877490260493,
13670+
"Timestamp": "2026-05-23T05:54:11.571994786Z",
13671+
"Version": "v1.4.0"
13672+
},
13673+
{
13674+
"LibraryName": "lesismal/nbio",
13675+
"ThroughputMBps": 357.30625,
13676+
"LatencyMs": 21.66082798369746,
13677+
"Timestamp": "2026-05-23T05:54:11.571994786Z",
13678+
"Version": "v1.6.9"
13679+
},
13680+
{
13681+
"LibraryName": "coder/websocket",
13682+
"ThroughputMBps": 236.7921875,
13683+
"LatencyMs": 32.672510838221804,
13684+
"Timestamp": "2026-05-23T05:54:11.571994786Z",
13685+
"Version": "v1.8.14"
1365113686
}
1365213687
]

benchmark_performance.png

-834 Bytes
Loading

0 commit comments

Comments
 (0)