X Tutup
The Wayback Machine - https://web.archive.org/web/20220501115805/https://github.com/nodejs/node/pull/42390
Skip to content
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

net,dns: trace tcp connection and dns by perf_hooks #42390

Merged

Conversation

Copy link
Contributor

@theanarkh theanarkh commented Mar 18, 2022

use the perf_hooks to trace the time spent by net.connect, dns.lookup,
dns.lookupService, dns.resolvexxx.

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Affected core subsystem(s): net, dns

@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Mar 18, 2022

Review requested:

@nodejs-github-bot nodejs-github-bot added lib / src needs-ci labels Mar 18, 2022
Copy link
Member

@mcollina mcollina left a comment

lgtm

@mcollina mcollina added the request-ci label Mar 18, 2022
@github-actions github-actions bot removed the request-ci label Mar 18, 2022
@nodejs-github-bot

This comment was marked as outdated.

@theanarkh theanarkh force-pushed the trace_net_and_dns_by_perf_hooks branch 2 times, most recently from 3508c15 to d63fe2b Compare Mar 18, 2022
Copy link
Contributor

@ShogunPanda ShogunPanda left a comment

LGTM!

@theanarkh theanarkh force-pushed the trace_net_and_dns_by_perf_hooks branch from d63fe2b to edff14f Compare Mar 18, 2022
doc/api/perf_hooks.md Outdated Show resolved Hide resolved
doc/api/perf_hooks.md Outdated Show resolved Hide resolved
doc/api/perf_hooks.md Outdated Show resolved Hide resolved
@theanarkh theanarkh force-pushed the trace_net_and_dns_by_perf_hooks branch 2 times, most recently from ec85f61 to c7213e4 Compare Mar 18, 2022
@nodejs-github-bot

This comment was marked as outdated.

@theanarkh theanarkh force-pushed the trace_net_and_dns_by_perf_hooks branch from c7213e4 to 98d4677 Compare Mar 19, 2022
@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Mar 19, 2022

@VoltrexMaster VoltrexMaster added author ready and removed needs-ci labels Mar 19, 2022
@theanarkh theanarkh force-pushed the trace_net_and_dns_by_perf_hooks branch from 98d4677 to 9d395b7 Compare Mar 21, 2022
use the perf_hooks to trace the time spent by net.connect, dns.lookup,
dns.lookupService, dns.resolvexxx.
@theanarkh theanarkh force-pushed the trace_net_and_dns_by_perf_hooks branch from 9d395b7 to 62b33bb Compare Mar 23, 2022
@theanarkh
Copy link
Author

@theanarkh theanarkh commented Mar 23, 2022

Is this PR ok or is there anything I need to do?

@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Mar 24, 2022

@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Mar 24, 2022

@theanarkh
Copy link
Author

@theanarkh theanarkh commented Mar 28, 2022

@mcollina hello, Is this PR ok or is there anything I need to do?thanks.

@mcollina mcollina added the commit-queue label Mar 29, 2022
@mcollina
Copy link

@mcollina mcollina commented Mar 29, 2022

This can land!

@nodejs-github-bot nodejs-github-bot removed the commit-queue label Mar 29, 2022
@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Mar 29, 2022

Commit Queue failed
- Loading data for nodejs/node/pull/42390
✔  Done loading data for nodejs/node/pull/42390
----------------------------------- PR info ------------------------------------
Title      net,dns: trace tcp connection and dns by perf_hooks (#42390)
Author     theanarkh  (@theanarkh, first-time contributor)
Branch     theanarkh:trace_net_and_dns_by_perf_hooks -> nodejs:master
Labels     lib / src, author ready
Commits    1
 - net,dns: trace tcp connection and dns by perf_hooks
Committers 1
 - theanarkh <2923878201@qq.com>
PR-URL: https://github.com/nodejs/node/pull/42390
Reviewed-By: Matteo Collina 
Reviewed-By: Paolo Insogna 
Reviewed-By: Mohammed Keyvanzadeh 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/42390
Reviewed-By: Matteo Collina 
Reviewed-By: Paolo Insogna 
Reviewed-By: Mohammed Keyvanzadeh 
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last review:
   ⚠  - net,dns: trace tcp connection and dns by perf_hooks
   ℹ  This PR was created on Fri, 18 Mar 2022 13:13:33 GMT
   ✔  Approvals: 3
   ✔  - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/42390#pullrequestreview-914468480
   ✔  - Paolo Insogna (@ShogunPanda): https://github.com/nodejs/node/pull/42390#pullrequestreview-914493022
   ✔  - Mohammed Keyvanzadeh (@VoltrexMaster): https://github.com/nodejs/node/pull/42390#pullrequestreview-915032295
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-03-24T09:18:30Z: https://ci.nodejs.org/job/node-test-pull-request/43182/
- Querying data for job/node-test-pull-request/43182/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/2059520015

@nodejs-github-bot nodejs-github-bot added the commit-queue-failed label Mar 29, 2022
Copy link
Member

@mcollina mcollina left a comment

lgtm

@mcollina mcollina added commit-queue and removed commit-queue-failed labels Mar 29, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue label Mar 29, 2022
@nodejs-github-bot nodejs-github-bot merged commit e520039 into nodejs:master Mar 29, 2022
54 checks passed
@nodejs-github-bot
Copy link

@nodejs-github-bot nodejs-github-bot commented Mar 29, 2022

Landed in e520039

juanarbol pushed a commit that referenced this issue Apr 4, 2022
use the perf_hooks to trace the time spent by net.connect, dns.lookup,
dns.lookupService, dns.resolvexxx.

PR-URL: #42390
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
juanarbol pushed a commit to juanarbol/node that referenced this issue Apr 5, 2022
use the perf_hooks to trace the time spent by net.connect, dns.lookup,
dns.lookupService, dns.resolvexxx.

PR-URL: nodejs#42390
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
@juanarbol juanarbol mentioned this pull request Apr 5, 2022
@juanarbol juanarbol mentioned this pull request Apr 5, 2022
juanarbol pushed a commit that referenced this issue Apr 6, 2022
use the perf_hooks to trace the time spent by net.connect, dns.lookup,
dns.lookupService, dns.resolvexxx.

PR-URL: #42390
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
xtx1130 pushed a commit to xtx1130/node that referenced this issue Apr 25, 2022
use the perf_hooks to trace the time spent by net.connect, dns.lookup,
dns.lookupService, dns.resolvexxx.

PR-URL: nodejs#42390
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready lib / src
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants
X Tutup