FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

benchmark: use much smaller values for n in some http tests by psmarshall · Pull Request #14002 · nodejs/node · GitHub

/ node Public

benchmark: use much smaller values for n in some http tests - #14002

Closed
psmarshall wants to merge 1 commit into
nodejs:masterfrom
psmarshall:test-n
Closed

benchmark: use much smaller values for n in some http tests#14002
psmarshall wants to merge 1 commit into
nodejs:masterfrom
psmarshall:test-n

Conversation

psmarshall commented Jun 30, 2017
edited
Loading

Copy link
Copy Markdown
Contributor
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

benchmark

The n values here are really, really high right now, and we can still get high confidence (3 stars) with this much lower n value. This makes the benchmarks run a lot faster without sacrificing accuracy.

nodejs-github-bot added benchmark Issues and PRs related to the benchmark subsystem. http Issues or PRs related to the http subsystem. labels Jun 30, 2017

cjihrig commented Jun 30, 2017

Copy link
Copy Markdown
Contributor

No comment on the changes themselves, but the commit subsystem should be benchmark, not test.

jasnell commented Jun 30, 2017

Copy link
Copy Markdown
Member

Ping @nodejs/benchmarking @mscdex

psmarshall changed the title test: use much smaller values for n in some http tests benchmark: use much smaller values for n in some http tests Jul 24, 2017

Copy link
Copy Markdown
Contributor Author

@cjihrig Thanks, I've updated the subsystem.

BridgeAR left a comment

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I just checked the benchmarks and with these low numbers the benchmark is not fully limited by the CPU and the numbers change to what they would be with higher n.
It will depend on the CPU but I would not recommend to go much below 5e7. I normally always change n when I run benchmarks locally depending on if I want to have a high accuracy or a glimpse at the likely outcome.

BridgeAR commented Sep 8, 2017

Copy link
Copy Markdown
Member

Ping @psmarshall would you mind updating the numbers once more?

Copy link
Copy Markdown
Member

I decided to land this as is even with my comment. We can always increase the numbers when running the benchmarks locally if needed.

Landed in 8a968e4

BridgeAR closed this Sep 19, 2017
BridgeAR pushed a commit that referenced this pull request Sep 19, 2017
PR-URL: #14002
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell pushed a commit that referenced this pull request Sep 20, 2017
PR-URL: #14002
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Qard pushed a commit to Qard/ayo that referenced this pull request Sep 21, 2017
PR-URL: nodejs/node#14002
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Qard pushed a commit to Qard/ayo that referenced this pull request Sep 21, 2017
PR-URL: nodejs/node#14002
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Oct 17, 2017
PR-URL: #14002
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins mentioned this pull request Oct 17, 2017
MylesBorins pushed a commit that referenced this pull request Oct 25, 2017
PR-URL: #14002
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins mentioned this pull request Nov 3, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmark Issues and PRs related to the benchmark subsystem. http Issues or PRs related to the http subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL