-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: add the wsPreEncodedFrame option
This optimization is only applied if: - the permessage-deflate extension is disabled (which is the default) - the "ws" package is used (which is the default) In that case, the WebSocket frame will only be computed once, when broadcasting to multiple clients. Related: socketio/socket.io-adapter@5f7b47d
- Loading branch information
1 parent
8a937a4
commit 5e34722
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters