Skip to content

Commit bce67bc

Browse files
daniel-abramovsdroege
authored andcommitted
Update performance notes in README
1 parent a146cea commit bce67bc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,9 @@ In essence, `async-tungstenite` is a wrapper for `tungstenite`, so the performan
7171
has a decent performance (it has been used in production for real-time communication software, video conferencing, etc), but it's definitely
7272
not the fastest WebSocket library in the world at the moment of writing this note.
7373

74-
If performance is of a paramount importance for you (especially if you send **large messages**), then you might want to check other libraries
75-
that have been designed to be performant or you could file a PR against `tungstenite` to improve the performance!
74+
We are aware of changes that both `tungstenite` and `tokio-tungstenite` require in order to make it on-par with slightly more performant libraries like `fastwebsockets`. In the course of past years we have merged several performance improvements submitted by the awesome community of Rust users who helped to improve the library! The more recent versions of `tokio-tungstenite` (`> 0.26.2`) are more performant and should be more on-par with `fastwebsockets`.
7675

77-
We are aware of changes that both `tungstenite` and `async-tungstenite` need in order to fill the gap of ~30% performance difference between `tungstenite`
78-
and more performant libraries like `fastwebsockets`, but we have not worked on that yet as it was not required for the use case that original authors designed
79-
the library for. In the course of past years we have merged several performance improvements submitted by the awesome community of Rust users who helped to improve
80-
the library! For a quick summary of the pending performance problems/improvements, see [the comment](https://github.com/snapview/tungstenite-rs/issues/352#issuecomment-1537488614).
76+
For a quick summary of the pending performance problems/improvements, see [the comment](https://github.com/snapview/tungstenite-rs/issues/352#issuecomment-1537488614).
8177

8278
## tokio-tungstenite
8379

0 commit comments

Comments
 (0)