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: fix long running benchmark tests #20125

Closed
wants to merge 8 commits into from

Conversation

apapirovski
Copy link
Member

This is a collection of changes that improve the execution time of the benchmark tests. Some are fixing missing parameters, others are slightly adjusting the benchmarks themselves, etc.

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

@apapirovski apapirovski added test Issues and PRs related to the tests. benchmark Issues and PRs related to the benchmark subsystem. labels Apr 18, 2018
@nodejs-github-bot nodejs-github-bot added buffer Issues and PRs related to the buffer subsystem. http Issues or PRs related to the http subsystem. test Issues and PRs related to the tests. v8 engine Issues and PRs related to the V8 dependency. labels Apr 18, 2018
@apapirovski
Copy link
Member Author

@BridgeAR
Copy link
Member

@apapirovski would you be so kind and check if the sequential benchmarks are now fast enough to be moved into parallel? :-)

@apapirovski apapirovski removed v8 engine Issues and PRs related to the V8 dependency. buffer Issues and PRs related to the buffer subsystem. http Issues or PRs related to the http subsystem. labels Apr 19, 2018
@Trott
Copy link
Member

Trott commented Apr 21, 2018

@nodejs/benchmarking (not sure if the changes to the actual benchmark code might have unforeseen adverse impact on, say, rendering of graphs at https://benchmarking.nodejs.org/)

@Trott
Copy link
Member

Trott commented Apr 21, 2018

@nodejs/benchmarking (not sure if the changes to the actual benchmark code might have unforeseen adverse impact on, say, rendering of graphs at https://benchmarking.nodejs.org/)

Looking more closely, that seems unlikely, although it would still be great to get a review from that team.

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 21, 2018
@Trott
Copy link
Member

Trott commented Apr 21, 2018

node-test-commit-linuxone rerun: https://ci.nodejs.org/job/node-test-commit-linuxone/579/

@Trott
Copy link
Member

Trott commented Apr 22, 2018

@apapirovski would you be so kind and check if the sequential benchmarks are now fast enough to be moved into parallel? :-)

@BridgeAR There's only two modified in this PR.

One is http which can't be moved to parallel because it uses predefined ports in the benchmarks.

The other is buffer. That one is a pure refactor. This change should not affect its execution time. (This PR adds two options to the test. Those options are added to the benchmark in this PR. Net effect on run time should be approximately zero.)

@apapirovski
Copy link
Member Author

This PR adds two options to the test. Those options are added to the benchmark in this PR. Net effect on run time should be approximately zero.)

To be fair, it adds those options in favour of what were currently large defaults. So it actually does affect execution time but not enough that it should go in parallel. I think it was only 10-15% faster.

@Trott
Copy link
Member

Trott commented Apr 22, 2018

To be fair, it adds those options in favour of what were currently large defaults. So it actually does affect execution time but not enough that it should go in parallel. I think it was only 10-15% faster.

Ah! Yes, good point. Thanks for the correction.

@apapirovski
Copy link
Member Author

Landed in e5f5320...f48ca9c

@apapirovski apapirovski deleted the fix-long-running-tests branch April 22, 2018 09:08
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
apapirovski added a commit that referenced this pull request Apr 22, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell pushed a commit that referenced this pull request Apr 23, 2018
PR-URL: #20125
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
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 PRs that have at least one approval, no pending requests for changes, and a CI started. benchmark Issues and PRs related to the benchmark subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants