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

test: add tls benchmark test #18489

Closed

Conversation

apapirovski
Copy link
Member

@apapirovski apapirovski commented Jan 31, 2018

A recent change to benchmarks broke one of the TLS benchmarks and since we have no tests for these it went undetected. This fixes the issue and also introduces a test for TLS benchmarks.

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

benchmark, test

@apapirovski apapirovski added test Issues and PRs related to the tests. benchmark Issues and PRs related to the benchmark subsystem. labels Jan 31, 2018
@nodejs-github-bot nodejs-github-bot added test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem. labels Jan 31, 2018
@apapirovski
Copy link
Member Author

@apapirovski apapirovski removed the tls Issues and PRs related to the tls subsystem. label Jan 31, 2018
@BridgeAR
Copy link
Member

BridgeAR commented Feb 1, 2018

@apapirovski the benchmark itself got fixed by f951c9a. But the test would be great nevertheless!

Would you please rebase? :-)


runBenchmark('tls',
[
'benchmarker=test-double',
Copy link
Member

Choose a reason for hiding this comment

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

This seems unrelated to the tls test?

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated and rebased.

@apapirovski apapirovski force-pushed the fix-benchmark-tls-connect branch from c6d5a2f to d6580f2 Compare February 1, 2018 13:11
@apapirovski apapirovski changed the title benchmark: fix tls benchmark & add test benchmark: add tls benchmark test Feb 1, 2018
@apapirovski apapirovski changed the title benchmark: add tls benchmark test test: add tls benchmark test Feb 1, 2018
@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 1, 2018
@BridgeAR
Copy link
Member

BridgeAR commented Feb 1, 2018

@apapirovski apapirovski removed the benchmark Issues and PRs related to the benchmark subsystem. label Feb 1, 2018
@apapirovski
Copy link
Member Author

One of the benchmarks was a bit flaky so I've committed an adjustment that should make it reliably pass in tests.

CI: https://ci.nodejs.org/job/node-test-pull-request/12901/

@apapirovski
Copy link
Member Author

Landed in 5c2c412

@apapirovski apapirovski closed this Feb 4, 2018
@apapirovski apapirovski deleted the fix-benchmark-tls-connect branch February 4, 2018 13:15
apapirovski added a commit that referenced this pull request Feb 4, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@addaleax addaleax removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 4, 2018
MylesBorins pushed a commit that referenced this pull request Feb 21, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Feb 21, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Feb 21, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Feb 21, 2018
MylesBorins pushed a commit that referenced this pull request Mar 20, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 28, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Mar 30, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins mentioned this pull request May 2, 2018
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
PR-URL: nodejs#18489
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants