X Tutup
The Wayback Machine - https://web.archive.org/web/20220423210933/https://github.com/nodejs/node/pull/36314
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

dns: refactor to use more primordials #36314

Closed
wants to merge 1 commit into from
Closed

Conversation

Copy link
Contributor

@aduh95 aduh95 commented Nov 29, 2020

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the dns label Nov 29, 2020
@aduh95 aduh95 added the needs-benchmark-ci label Nov 29, 2020
@aduh95

This comment has been minimized.

@aduh95
Copy link
Contributor Author

@aduh95 aduh95 commented Dec 1, 2020

Benchmark CI didn't show any perf regression or improvement.

                                                              confidence improvement accuracy (*)    (**)   (***)
dns/lookup.js n=5000000 all='false' name='::1'                                1.68 %       ±2.48%  ±3.30%  ±4.29%
dns/lookup.js n=5000000 all='false' name='127.0.0.1'                         -2.53 %       ±5.59%  ±7.46%  ±9.76%
dns/lookup.js n=5000000 all='true' name='::1'                                 0.05 %       ±2.09%  ±2.79%  ±3.63%
dns/lookup.js n=5000000 all='true' name='127.0.0.1'                          -2.49 %       ±4.02%  ±5.36%  ±7.00%
dns/lookup-promises.js n=5000000 all='false' name='::1'                      12.40 %      ±16.94% ±22.79% ±30.16%
dns/lookup-promises.js n=5000000 all='false' name='127.0.0.1'                 0.95 %       ±3.04%  ±4.04%  ±5.26%
dns/lookup-promises.js n=5000000 all='true' name='::1'                        5.62 %       ±9.65% ±12.97% ±17.15%
dns/lookup-promises.js n=5000000 all='true' name='127.0.0.1'                  0.88 %       ±4.24%  ±5.64%  ±7.35%

Be aware that when doing many comparisons the risk of a false-positive
result increases. In this case there are 8 comparisons, you can thus
expect the following amount of false-positive results:
 0.40 false positives, when considering a   5% risk acceptance (*, **, ***),
 0.08 false positives, when considering a   1% risk acceptance (**, ***),
 0.01 false positives, when considering a 0.1% risk acceptance (***)

@aduh95 aduh95 added request-ci and removed needs-benchmark-ci labels Dec 1, 2020
@github-actions github-actions bot removed the request-ci label Dec 1, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@aduh95 aduh95 added the request-ci label Dec 2, 2020
@github-actions github-actions bot removed the request-ci label Dec 2, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Dec 3, 2020

@aduh95 aduh95 added author ready commit-queue labels Dec 7, 2020
Trott
Trott approved these changes Dec 7, 2020
@Trott
Copy link
Member

@Trott Trott commented Dec 7, 2020

@aduh95 aduh95 added commit-queue and removed commit-queue labels Dec 7, 2020
@github-actions github-actions bot removed the commit-queue label Dec 7, 2020
@github-actions
Copy link

@github-actions github-actions bot commented Dec 7, 2020

Landed in bf31d3c...96b4950

@github-actions github-actions bot closed this Dec 7, 2020
nodejs-github-bot pushed a commit that referenced this issue Dec 7, 2020
PR-URL: #36314
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@aduh95 aduh95 deleted the dns-primordials branch Dec 7, 2020
cjihrig pushed a commit to cjihrig/node that referenced this issue Dec 8, 2020
PR-URL: nodejs#36314
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
targos pushed a commit that referenced this issue Dec 21, 2020
PR-URL: #36314
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
targos pushed a commit that referenced this issue May 16, 2021
PR-URL: #36314
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
targos pushed a commit that referenced this issue Jun 11, 2021
PR-URL: #36314
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready dns
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants
X Tutup