-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
test: add arg to narrow http benchmark test #26101
test: add arg to narrow http benchmark test #26101
Conversation
Special CI job: https://ci.nodejs.org/job/node-test-commit-custom-suites/872/ |
An alternative could be to rename the new arg to |
Please 👍 to fast-track since ATM the daily master job is failing |
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
@@ -29,7 +29,8 @@ runBenchmark('http', | |||
'n=1', | |||
'res=normal', | |||
'type=asc', | |||
'value=X-Powered-By' | |||
'value=X-Powered-By', | |||
'headerDuplicates=1', |
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.
Can you relocate it higher in the list to keep the list in alphabetical order?
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.
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 <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
182ec22
to
fe58bef
Compare
@Trott I'll make a follow up clean PR. |
Refactoring PR #26119 |
PR-URL: #26101 Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: nodejs#26119 Refs: nodejs#26101 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #26119 Refs: #26101 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #26101 Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #26119 Refs: #26101 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
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), orvcbuild test
(Windows) passes