-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http: add perf_hooks detail for http request and client #43002
Conversation
Review requested:
|
Removing the conditionals is going to unnecessarily make more work on the GC when there are no observers because of the (inline) object being created for every request. |
Thanks for your review. do you mean |
Change looks good. We need the benchmarks run. |
Thanks for reply. I wonder what i need to do for |
Yes. Previously object creation was guarded by an |
be94dcd
to
c41e9e9
Compare
Thanks for your review. I have modified the code, please review again. |
c41e9e9
to
cbe9872
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
81b222e
to
cb4a558
Compare
I will separate this PR to two PRs. |
http: add perf_hooks detail
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected subsystem: http,net,dns