Skip to content

Commit 6d45cda

Browse files
chore: Update benchmark results, graph, and README
1 parent d6e7ba1 commit 6d45cda

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:** Thu, 20 Aug 2026 03:28:00 UTC
16+
**Last Updated:** Thu, 20 Aug 2026 04:30:32 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 378.96 | 20.50 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 457.29 | 16.97 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 752.43 | 10.30 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 529.59 | 14.65 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 957.53 | 8.12 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 249.23 | 31.02 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 272.69 | 28.45 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 516.02 | 15.03 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 334.76 | 23.08 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 593.20 | 13.12 |
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
@@ -16763,5 +16763,40 @@
1676316763
"LatencyMs": 20.503403632465417,
1676416764
"Timestamp": "2026-08-20T03:27:00.717671365Z",
1676516765
"Version": "v1.8.15"
16766+
},
16767+
{
16768+
"LibraryName": "gorilla/websocket",
16769+
"ThroughputMBps": 516.025,
16770+
"LatencyMs": 15.032735211472312,
16771+
"Timestamp": "2026-08-20T04:29:36.275871184Z",
16772+
"Version": "v1.5.3"
16773+
},
16774+
{
16775+
"LibraryName": "lxzan/gws",
16776+
"ThroughputMBps": 593.1953125,
16777+
"LatencyMs": 13.11517470268277,
16778+
"Timestamp": "2026-08-20T04:29:36.275871184Z",
16779+
"Version": "v1.10.1"
16780+
},
16781+
{
16782+
"LibraryName": "gobwas/ws",
16783+
"ThroughputMBps": 272.6921875,
16784+
"LatencyMs": 28.450081078138698,
16785+
"Timestamp": "2026-08-20T04:29:36.275871184Z",
16786+
"Version": "v1.4.0"
16787+
},
16788+
{
16789+
"LibraryName": "lesismal/nbio",
16790+
"ThroughputMBps": 334.75703125,
16791+
"LatencyMs": 23.078522435815156,
16792+
"Timestamp": "2026-08-20T04:29:36.275871184Z",
16793+
"Version": "v1.6.12"
16794+
},
16795+
{
16796+
"LibraryName": "coder/websocket",
16797+
"ThroughputMBps": 249.2296875,
16798+
"LatencyMs": 31.015366096785723,
16799+
"Timestamp": "2026-08-20T04:29:36.275871184Z",
16800+
"Version": "v1.8.15"
1676616801
}
1676716802
]

benchmark_performance.png

462 Bytes
Loading

0 commit comments

Comments
 (0)