Skip to content

Commit 3fa9ffb

Browse files
chore: Update benchmark results, graph, and README
1 parent 7f59a79 commit 3fa9ffb

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, 04 Jul 2026 06:01:13 UTC
16+
**Last Updated:** Sun, 05 Jul 2026 06:26:23 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 289.28 | 26.83 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 341.54 | 22.68 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 555.93 | 13.98 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.11 | 393.33 | 19.74 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 692.41 | 11.21 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 266.60 | 29.08 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 300.16 | 25.76 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 526.08 | 14.72 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.11 | 362.52 | 21.38 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 598.78 | 12.98 |
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
@@ -15153,5 +15153,40 @@
1515315153
"LatencyMs": 26.82538808050037,
1515415154
"Timestamp": "2026-07-04T06:00:17.404190456Z",
1515515155
"Version": "v1.8.15"
15156+
},
15157+
{
15158+
"LibraryName": "gorilla/websocket",
15159+
"ThroughputMBps": 526.084375,
15160+
"LatencyMs": 14.721515678925078,
15161+
"Timestamp": "2026-07-05T06:25:22.737021999Z",
15162+
"Version": "v1.5.3"
15163+
},
15164+
{
15165+
"LibraryName": "lxzan/gws",
15166+
"ThroughputMBps": 598.77890625,
15167+
"LatencyMs": 12.977925126266086,
15168+
"Timestamp": "2026-07-05T06:25:22.737021999Z",
15169+
"Version": "v1.9.1"
15170+
},
15171+
{
15172+
"LibraryName": "gobwas/ws",
15173+
"ThroughputMBps": 300.16484375,
15174+
"LatencyMs": 25.764241523537848,
15175+
"Timestamp": "2026-07-05T06:25:22.737021999Z",
15176+
"Version": "v1.4.0"
15177+
},
15178+
{
15179+
"LibraryName": "lesismal/nbio",
15180+
"ThroughputMBps": 362.521875,
15181+
"LatencyMs": 21.379440464799536,
15182+
"Timestamp": "2026-07-05T06:25:22.737021999Z",
15183+
"Version": "v1.6.11"
15184+
},
15185+
{
15186+
"LibraryName": "coder/websocket",
15187+
"ThroughputMBps": 266.5953125,
15188+
"LatencyMs": 29.077601819236786,
15189+
"Timestamp": "2026-07-05T06:25:22.737021999Z",
15190+
"Version": "v1.8.15"
1515615191
}
1515715192
]

benchmark_performance.png

475 Bytes
Loading

0 commit comments

Comments
 (0)