Skip to content

Conversation

@dnlup
Copy link
Contributor

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

I am getting this error here when running benchmarks though:
Screenshot from 2019-12-20 21-05-44

I ran the benchmark with:

$ node benchmark/run.js child_process

@nodejs-github-botnodejs-github-bot added benchmark Issues and PRs related to the benchmark subsystem. child_process Issues and PRs related to the child_process subsystem. labels Dec 20, 2019
@Trott
Copy link
Member

Trott commented Dec 21, 2019

You can work around the error in the benchmark by explicitly allowing zeroes with an environment variable:

NODEJS_BENCHMARK_ZERO_ALLOWED=1 node benchmark/run.js child_process

@Trott
Copy link
Member

Also, if you don't actually care to run all the benchmarks and just want a quick test that your changes didn't break anything obvious:

node test/benchmark/test-benchmark-child-process.js

@dnlup
Copy link
ContributorAuthor

Thanks @Trott .

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Dec 24, 2019
BridgeAR pushed a commit that referenced this pull request Dec 25, 2019
PR-URL: #31043 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
@BridgeAR
Copy link
Member

Landed in 3885e15 🎉

BridgeAR pushed a commit that referenced this pull request Jan 3, 2020
PR-URL: #31043 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
@BridgeARBridgeAR mentioned this pull request Jan 7, 2020
@dnlupdnlup deleted the benchmark_child_process branch January 10, 2020 13:38
targos pushed a commit that referenced this pull request Jan 14, 2020
PR-URL: #31043 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
@targostargos mentioned this pull request Jan 15, 2020
BethGriggs pushed a commit that referenced this pull request Feb 6, 2020
PR-URL: #31043 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Feb 8, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.benchmarkIssues and PRs related to the benchmark subsystem.child_processIssues and PRs related to the child_process subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@dnlup@Trott@BridgeAR@nodejs-github-bot