Skip to content

test: add arg to narrow http benchmark test - #26101

Merged
refack merged 1 commit into
nodejs:masterfrom
refack:only-one-bench-http-incoming_headers
Feb 15, 2019
Merged

test: add arg to narrow http benchmark test#26101
refack merged 1 commit into
nodejs:masterfrom
refack:only-one-bench-http-incoming_headers

Conversation

@refack

@refackrefack commented Feb 14, 2019

Copy link
Copy Markdown
Contributor

Recent changes (da0dc51) added a new benchmark (benchmark/http/incoming_headers.js) which takes a new arg (headerDuplicates).
This PR passes a value for that arg so that during the sanity test this benchmark will run only once.

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

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Feb 14, 2019
@refack

Copy link
Copy Markdown
ContributorAuthor

@refackrefack added benchmark Issues and PRs related to the benchmark subsystem. flaky-test Issues and PRs related to the tests with unstable failures on the CI. labels Feb 14, 2019
@refack

Copy link
Copy Markdown
ContributorAuthor

An alternative could be to rename the new arg to n ¯\(ツ)

@refackrefack added the fast-track PRs that do not need to wait for 48 hours to land. label Feb 14, 2019
@refack

Copy link
Copy Markdown
ContributorAuthor

Please 👍 to fast-track since ATM the daily master job is failing

@starkwangstarkwang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you relocate it higher in the list to keep the list in alphabetical order?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you relocate it higher in the list to keep the list in alphabetical order?

Argh, never mind, it's already not alphabetical, just mostly alphabetical. Anyway, LGTM, but nit: Would prefer to alphabetize the list.

(Also, agree that n is probably better. The headers aren't duplicates. They're similarly-named.)

PR-URL: nodejs#26101
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@refack
refackforce-pushed the only-one-bench-http-incoming_headers branch from 182ec22 to fe58befCompareFebruary 15, 2019 00:10
@refack
refack merged commit fe58bef into nodejs:masterFeb 15, 2019
@refack

refack commented Feb 15, 2019

Copy link
Copy Markdown
ContributorAuthor

Fast-tracked with 3 upvotes
image

@Trott I'll make a follow up clean PR.

@refack
refack deleted the only-one-bench-http-incoming_headers branch February 15, 2019 00:14
@refackrefack mentioned this pull request Feb 15, 2019
4 tasks
@refack

Copy link
Copy Markdown
ContributorAuthor

Refactoring PR #26119

targos pushed a commit that referenced this pull request Feb 15, 2019
PR-URL: #26101
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
refack added a commit to refack/node that referenced this pull request Feb 18, 2019
PR-URL: nodejs#26119
Refs: nodejs#26101
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
addaleax pushed a commit that referenced this pull request Feb 19, 2019
PR-URL: #26119
Refs: #26101
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@BridgeARBridgeAR mentioned this pull request Feb 26, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
PR-URL: #26101
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
rvagg pushed a commit that referenced this pull request Feb 28, 2019
PR-URL: #26119
Refs: #26101
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmarkIssues and PRs related to the benchmark subsystem.fast-trackPRs that do not need to wait for 48 hours to land.flaky-testIssues and PRs related to the tests with unstable failures on the CI.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@refack@nodejs-github-bot@Trott@addaleax@cjihrig@starkwang