http: add perf_hooks detail for http request and client#43002
http: add perf_hooks detail for http request and client#43002theanarkh wants to merge 0 commit intonodejs:masterfrom
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
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