Skip to content

Commit 88bf5ff

Browse files
chore: Update benchmark results, graph, and README
1 parent 2d7eca1 commit 88bf5ff

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:** Sun, 23 Aug 2026 03:33:29 UTC
16+
**Last Updated:** Mon, 24 Aug 2026 03:35:41 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 262.66 | 29.43 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 289.42 | 26.74 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 516.00 | 15.00 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 359.99 | 21.52 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 593.48 | 13.08 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 452.29 | 17.18 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 491.17 | 15.83 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 841.90 | 9.22 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 592.24 | 13.13 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 1009.90 | 7.71 |
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
@@ -138,5 +138,40 @@
138138
"LatencyMs": 29.42596795350373,
139139
"Timestamp": "2026-08-23T03:32:32.466394433Z",
140140
"Version": "v1.8.15"
141+
},
142+
{
143+
"LibraryName": "gorilla/websocket",
144+
"ThroughputMBps": 841.89921875,
145+
"LatencyMs": 9.224117531882435,
146+
"Timestamp": "2026-08-24T03:34:45.20180275Z",
147+
"Version": "v1.5.3"
148+
},
149+
{
150+
"LibraryName": "lxzan/gws",
151+
"ThroughputMBps": 1009.89921875,
152+
"LatencyMs": 7.712409422041649,
153+
"Timestamp": "2026-08-24T03:34:45.20180275Z",
154+
"Version": "v1.10.1"
155+
},
156+
{
157+
"LibraryName": "gobwas/ws",
158+
"ThroughputMBps": 491.1703125,
159+
"LatencyMs": 15.834278143083006,
160+
"Timestamp": "2026-08-24T03:34:45.20180275Z",
161+
"Version": "v1.4.0"
162+
},
163+
{
164+
"LibraryName": "lesismal/nbio",
165+
"ThroughputMBps": 592.23671875,
166+
"LatencyMs": 13.12723612681268,
167+
"Timestamp": "2026-08-24T03:34:45.20180275Z",
168+
"Version": "v1.6.12"
169+
},
170+
{
171+
"LibraryName": "coder/websocket",
172+
"ThroughputMBps": 452.2890625,
173+
"LatencyMs": 17.18121880020037,
174+
"Timestamp": "2026-08-24T03:34:45.20180275Z",
175+
"Version": "v1.8.15"
141176
}
142177
]

benchmark_performance.png

3.64 KB
Loading

0 commit comments

Comments
 (0)