Skip to content

Commit 1ae3fbd

Browse files
chore: Update benchmark results, graph, and README
1 parent f9925b1 commit 1ae3fbd

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, 15 Aug 2026 03:21:04 UTC
16+
**Last Updated:** Sun, 16 Aug 2026 03:30:44 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 251.33 | 30.80 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 277.04 | 27.98 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 510.07 | 15.18 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 332.82 | 23.27 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 583.38 | 13.29 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 428.23 | 18.16 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 546.79 | 14.23 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 872.76 | 8.90 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 608.04 | 12.78 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 1142.13 | 6.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
@@ -16588,5 +16588,40 @@
1658816588
"LatencyMs": 30.80135838734244,
1658916589
"Timestamp": "2026-08-15T03:20:07.791871607Z",
1659016590
"Version": "v1.8.15"
16591+
},
16592+
{
16593+
"LibraryName": "gorilla/websocket",
16594+
"ThroughputMBps": 872.75546875,
16595+
"LatencyMs": 8.898851249678863,
16596+
"Timestamp": "2026-08-16T03:29:47.55785003Z",
16597+
"Version": "v1.5.3"
16598+
},
16599+
{
16600+
"LibraryName": "lxzan/gws",
16601+
"ThroughputMBps": 1142.1265625,
16602+
"LatencyMs": 6.821755880272682,
16603+
"Timestamp": "2026-08-16T03:29:47.55785003Z",
16604+
"Version": "v1.10.1"
16605+
},
16606+
{
16607+
"LibraryName": "gobwas/ws",
16608+
"ThroughputMBps": 546.79140625,
16609+
"LatencyMs": 14.225930249338113,
16610+
"Timestamp": "2026-08-16T03:29:47.55785003Z",
16611+
"Version": "v1.4.0"
16612+
},
16613+
{
16614+
"LibraryName": "lesismal/nbio",
16615+
"ThroughputMBps": 608.04453125,
16616+
"LatencyMs": 12.78082274504463,
16617+
"Timestamp": "2026-08-16T03:29:47.55785003Z",
16618+
"Version": "v1.6.12"
16619+
},
16620+
{
16621+
"LibraryName": "coder/websocket",
16622+
"ThroughputMBps": 428.234375,
16623+
"LatencyMs": 18.15855620826796,
16624+
"Timestamp": "2026-08-16T03:29:47.55785003Z",
16625+
"Version": "v1.8.15"
1659116626
}
1659216627
]

benchmark_performance.png

970 Bytes
Loading

0 commit comments

Comments
 (0)