Skip to content

Commit bd70889

Browse files
chore: Update benchmark results, graph, and README
1 parent 74ecea7 commit bd70889

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, 01 Sep 2026 07:59:28 UTC
16+
**Last Updated:** Wed, 02 Sep 2026 07:19:03 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 256.90 | 30.14 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 282.58 | 27.37 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 511.69 | 15.14 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 356.04 | 21.74 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 592.95 | 13.10 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 416.24 | 18.65 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 503.81 | 15.40 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 830.74 | 9.35 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 593.59 | 13.09 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 1028.27 | 7.57 |
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
@@ -453,5 +453,40 @@
453453
"LatencyMs": 30.136141082876154,
454454
"Timestamp": "2026-09-01T07:58:27.504559248Z",
455455
"Version": "v1.8.15"
456+
},
457+
{
458+
"LibraryName": "gorilla/websocket",
459+
"ThroughputMBps": 830.74296875,
460+
"LatencyMs": 9.346016508189676,
461+
"Timestamp": "2026-09-02T07:18:03.05031205Z",
462+
"Version": "v1.5.3"
463+
},
464+
{
465+
"LibraryName": "lxzan/gws",
466+
"ThroughputMBps": 1028.265625,
467+
"LatencyMs": 7.567962588703673,
468+
"Timestamp": "2026-09-02T07:18:03.05031205Z",
469+
"Version": "v1.10.1"
470+
},
471+
{
472+
"LibraryName": "gobwas/ws",
473+
"ThroughputMBps": 503.8078125,
474+
"LatencyMs": 15.401172942311211,
475+
"Timestamp": "2026-09-02T07:18:03.05031205Z",
476+
"Version": "v1.4.0"
477+
},
478+
{
479+
"LibraryName": "lesismal/nbio",
480+
"ThroughputMBps": 593.59296875,
481+
"LatencyMs": 13.088294404177947,
482+
"Timestamp": "2026-09-02T07:18:03.05031205Z",
483+
"Version": "v1.6.12"
484+
},
485+
{
486+
"LibraryName": "coder/websocket",
487+
"ThroughputMBps": 416.2359375,
488+
"LatencyMs": 18.647193411188816,
489+
"Timestamp": "2026-09-02T07:18:03.05031205Z",
490+
"Version": "v1.8.15"
456491
}
457492
]

benchmark_performance.png

5.1 KB
Loading

0 commit comments

Comments
 (0)