-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce indirection around cancellable transport tasks (#85372)
No need for noop wrapping of response handlers or notifying empty listener lists. The empty listener notifying just creates needless method size as does the needless wrapping. The send and response handling path is obviousyly very hot code and it's nice to reduce indirection and allocation here if not for performance now but at least to make profiling easier to interpret. Also, nesting handlers less makes the logging of those handlers less verbose while still providing the same amount of information.
- Loading branch information
1 parent
55af878
commit 6a60888
Showing
3 changed files
with
55 additions
and
41 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
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