Skip to content

Commit 5d73008

Browse files
chore: Update benchmark results, graph, and README
1 parent 55dbbe9 commit 5d73008

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:** Wed, 19 Aug 2026 03:27:57 UTC
16+
**Last Updated:** Thu, 20 Aug 2026 03:28:00 UTC
1717

1818
| Library | Version | Throughput (MB/s) | Avg Latency (ms) |
1919
| ----------------------------------------------- | --------------- | ----------------- | ---------------- |
20-
| [coder/websocket](https://github.com/coder/websocket) | v1.8.15 | 334.81 | 23.19 |
21-
| [gobwas/ws](https://github.com/gobwas/ws) | v1.4.0 | 369.59 | 21.01 |
22-
| [gorilla/websocket](https://github.com/gorilla/websocket) | v1.5.3 | 633.31 | 12.27 |
23-
| [lesismal/nbio](https://github.com/lesismal/nbio) | v1.6.12 | 448.23 | 17.30 |
24-
| [lxzan/gws](https://github.com/lxzan/gws) | v1.10.1 | 761.08 | 10.23 |
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 |
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
@@ -16728,5 +16728,40 @@
1672816728
"LatencyMs": 23.18925370487473,
1672916729
"Timestamp": "2026-08-19T03:27:00.887816678Z",
1673016730
"Version": "v1.8.15"
16731+
},
16732+
{
16733+
"LibraryName": "gorilla/websocket",
16734+
"ThroughputMBps": 752.42578125,
16735+
"LatencyMs": 10.301332668815965,
16736+
"Timestamp": "2026-08-20T03:27:00.717671365Z",
16737+
"Version": "v1.5.3"
16738+
},
16739+
{
16740+
"LibraryName": "lxzan/gws",
16741+
"ThroughputMBps": 957.52578125,
16742+
"LatencyMs": 8.122435508835027,
16743+
"Timestamp": "2026-08-20T03:27:00.717671365Z",
16744+
"Version": "v1.10.1"
16745+
},
16746+
{
16747+
"LibraryName": "gobwas/ws",
16748+
"ThroughputMBps": 457.28828125,
16749+
"LatencyMs": 16.97293146247666,
16750+
"Timestamp": "2026-08-20T03:27:00.717671365Z",
16751+
"Version": "v1.4.0"
16752+
},
16753+
{
16754+
"LibraryName": "lesismal/nbio",
16755+
"ThroughputMBps": 529.590625,
16756+
"LatencyMs": 14.653926381816143,
16757+
"Timestamp": "2026-08-20T03:27:00.717671365Z",
16758+
"Version": "v1.6.12"
16759+
},
16760+
{
16761+
"LibraryName": "coder/websocket",
16762+
"ThroughputMBps": 378.9609375,
16763+
"LatencyMs": 20.503403632465417,
16764+
"Timestamp": "2026-08-20T03:27:00.717671365Z",
16765+
"Version": "v1.8.15"
1673116766
}
1673216767
]

benchmark_performance.png

5.1 KB
Loading

0 commit comments

Comments
 (0)