Skip to content

Commit 3c1cd82

Browse files
chore: Update benchmark results, graph, and README
1 parent 06c3a3d commit 3c1cd82

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, 21 Jul 2026 05:37:13 UTC
16+
**Last Updated:** Wed, 22 Jul 2026 05:36:37 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 260.11 | 29.74 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 280.42 | 27.59 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 481.07 | 16.12 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 353.82 | 21.91 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.0 | 583.37 | 13.32 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 242.38 | 31.91 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 276.98 | 27.92 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 490.17 | 15.79 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 333.13 | 23.22 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.0 | 567.60 | 13.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
@@ -15713,5 +15713,40 @@
1571315713
"LatencyMs": 29.739358315111613,
1571415714
"Timestamp": "2026-07-21T05:36:17.199258934Z",
1571515715
"Version": "v1.8.15"
15716+
},
15717+
{
15718+
"LibraryName": "gorilla/websocket",
15719+
"ThroughputMBps": 490.16953125,
15720+
"LatencyMs": 15.794525809788386,
15721+
"Timestamp": "2026-07-22T05:35:36.120167603Z",
15722+
"Version": "v1.5.3"
15723+
},
15724+
{
15725+
"LibraryName": "lxzan/gws",
15726+
"ThroughputMBps": 567.6046875,
15727+
"LatencyMs": 13.709219389594981,
15728+
"Timestamp": "2026-07-22T05:35:36.120167603Z",
15729+
"Version": "v1.10.0"
15730+
},
15731+
{
15732+
"LibraryName": "gobwas/ws",
15733+
"ThroughputMBps": 276.9765625,
15734+
"LatencyMs": 27.922367641666433,
15735+
"Timestamp": "2026-07-22T05:35:36.120167603Z",
15736+
"Version": "v1.4.0"
15737+
},
15738+
{
15739+
"LibraryName": "lesismal/nbio",
15740+
"ThroughputMBps": 333.13203125,
15741+
"LatencyMs": 23.220614480463592,
15742+
"Timestamp": "2026-07-22T05:35:36.120167603Z",
15743+
"Version": "v1.6.12"
15744+
},
15745+
{
15746+
"LibraryName": "coder/websocket",
15747+
"ThroughputMBps": 242.378125,
15748+
"LatencyMs": 31.914905687136578,
15749+
"Timestamp": "2026-07-22T05:35:36.120167603Z",
15750+
"Version": "v1.8.15"
1571615751
}
1571715752
]

benchmark_performance.png

296 Bytes
Loading

0 commit comments

Comments
 (0)