Skip to content

Commit 54920e5

Browse files
chore: Update benchmark results, graph, and README
1 parent fd6afae commit 54920e5

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, 14 May 2026 06:03:58 UTC
16+
**Last Updated:** Fri, 15 May 2026 06:19:41 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 242.55 | 31.91 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 294.93 | 26.26 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 523.32 | 14.81 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 352.76 | 21.92 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 606.23 | 12.82 |
20+
| [coder/websocket](https://github.com/coder/websocket) | v1.8.14 | 235.75 | 32.82 |
21+
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 285.90 | 27.09 |
22+
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 521.81 | 14.83 |
23+
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.9 | 351.72 | 22.02 |
24+
| [lxzan/gws](https://github.com/lxzan/gws) | v1.9.1 | 599.47 | 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
@@ -13368,5 +13368,40 @@
1336813368
"LatencyMs": 31.90894420501324,
1336913369
"Timestamp": "2026-05-14T06:03:02.332170139Z",
1337013370
"Version": "v1.8.14"
13371+
},
13372+
{
13373+
"LibraryName": "gorilla/websocket",
13374+
"ThroughputMBps": 521.809375,
13375+
"LatencyMs": 14.832049239724755,
13376+
"Timestamp": "2026-05-15T06:18:45.207754685Z",
13377+
"Version": "v1.5.3"
13378+
},
13379+
{
13380+
"LibraryName": "lxzan/gws",
13381+
"ThroughputMBps": 599.47421875,
13382+
"LatencyMs": 12.976293027614043,
13383+
"Timestamp": "2026-05-15T06:18:45.207754685Z",
13384+
"Version": "v1.9.1"
13385+
},
13386+
{
13387+
"LibraryName": "gobwas/ws",
13388+
"ThroughputMBps": 285.90078125,
13389+
"LatencyMs": 27.092520077714898,
13390+
"Timestamp": "2026-05-15T06:18:45.207754685Z",
13391+
"Version": "v1.4.0"
13392+
},
13393+
{
13394+
"LibraryName": "lesismal/nbio",
13395+
"ThroughputMBps": 351.721875,
13396+
"LatencyMs": 22.022343204414,
13397+
"Timestamp": "2026-05-15T06:18:45.207754685Z",
13398+
"Version": "v1.6.9"
13399+
},
13400+
{
13401+
"LibraryName": "coder/websocket",
13402+
"ThroughputMBps": 235.74609375,
13403+
"LatencyMs": 32.815389968683206,
13404+
"Timestamp": "2026-05-15T06:18:45.207754685Z",
13405+
"Version": "v1.8.14"
1337113406
}
1337213407
]

benchmark_performance.png

-361 Bytes
Loading

0 commit comments

Comments
 (0)