★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/18489Nouvelle recherche | Portail wanayoo
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

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 benchmark labels Jan 31, 2018
@nodejs-github-bot nodejs-github-bot added test tls labels Jan 31, 2018
@apapirovski
Copy link
Member Author

@apapirovski apapirovski commented Jan 31, 2018

@apapirovski apapirovski removed the tls label Jan 31, 2018
@BridgeAR
Copy link
Member

@BridgeAR 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

@BridgeAR BridgeAR Feb 1, 2018

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

@apapirovski apapirovski Feb 1, 2018

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 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 label Feb 1, 2018
@BridgeAR
Copy link
Member

@BridgeAR BridgeAR commented Feb 1, 2018

@apapirovski apapirovski removed the benchmark label Feb 1, 2018
@apapirovski
Copy link
Member Author

@apapirovski apapirovski commented Feb 2, 2018

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

@apapirovski apapirovski commented Feb 4, 2018

Landed in 5c2c412

@apapirovski apapirovski closed this Feb 4, 2018
@apapirovski apapirovski deleted the fix-benchmark-tls-connect branch Feb 4, 2018
apapirovski added a commit that referenced this issue Feb 4, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
@addaleax addaleax removed the author ready label Feb 4, 2018
MylesBorins pushed a commit that referenced this issue Feb 21, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this issue Feb 21, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this issue Feb 21, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Feb 21, 2018
MylesBorins pushed a commit that referenced this issue Mar 20, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this issue Mar 28, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this issue Mar 30, 2018
PR-URL: #18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request May 2, 2018
MayaLekova pushed a commit to MayaLekova/node that referenced this issue May 8, 2018
PR-URL: nodejs#18489
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants