-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
http: add perf_hooks detail for http request and client #43002
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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