Skip to content

Commit 58e402b

Browse files
chore: Update benchmark results, graph, and README
1 parent 346dcc5 commit 58e402b

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, 03 Feb 2026 04:28:31 UTC
16+
**Last Updated:** Wed, 04 Feb 2026 04:22:46 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 232.82 | 33.24 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 278.33 | 27.74 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 524.64 | 14.76 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.8 | 350.10 | 22.07 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.8.9 | 603.90 | 12.89 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 284.98 | 27.22 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 374.72 | 20.64 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 652.97 | 11.89 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.8 | 444.40 | 17.45 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.8.9 | 833.51 | 9.34 |
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
@@ -9868,5 +9868,40 @@
98689868
"LatencyMs": 33.23604045583281,
98699869
"Timestamp": "2026-02-03T04:27:30.72695149Z",
98709870
"Version": "v1.8.14"
9871+
},
9872+
{
9873+
"LibraryName": "gorilla/websocket",
9874+
"ThroughputMBps": 652.9734375,
9875+
"LatencyMs": 11.889069951639495,
9876+
"Timestamp": "2026-02-04T04:21:45.787620234Z",
9877+
"Version": "v1.5.3"
9878+
},
9879+
{
9880+
"LibraryName": "lxzan/gws",
9881+
"ThroughputMBps": 833.50546875,
9882+
"LatencyMs": 9.337665563457048,
9883+
"Timestamp": "2026-02-04T04:21:45.787620234Z",
9884+
"Version": "v1.8.9"
9885+
},
9886+
{
9887+
"LibraryName": "gobwas/ws",
9888+
"ThroughputMBps": 374.71875,
9889+
"LatencyMs": 20.639083479276124,
9890+
"Timestamp": "2026-02-04T04:21:45.787620234Z",
9891+
"Version": "v1.4.0"
9892+
},
9893+
{
9894+
"LibraryName": "lesismal/nbio",
9895+
"ThroughputMBps": 444.39765625,
9896+
"LatencyMs": 17.449189475220145,
9897+
"Timestamp": "2026-02-04T04:21:45.787620234Z",
9898+
"Version": "v1.6.8"
9899+
},
9900+
{
9901+
"LibraryName": "coder/websocket",
9902+
"ThroughputMBps": 284.97890625,
9903+
"LatencyMs": 27.21735435462603,
9904+
"Timestamp": "2026-02-04T04:21:45.787620234Z",
9905+
"Version": "v1.8.14"
98719906
}
98729907
]

benchmark_performance.png

-2.1 KB
Loading

0 commit comments

Comments
 (0)