Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upbenchmark: support more options in startup benchmark #24220
Conversation
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
added
benchmark
test
labels
Nov 7, 2018
joyeecheung
referenced this pull request
Nov 7, 2018
Closed
src: compile native modules and their code cache in C++ #24221
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
richardlau
reviewed
Nov 7, 2018
benchmark/misc/startup.js
Outdated
| function startNode({ dur }) { | ||
| var go = true; | ||
| var starts = 0; | ||
| function spwanProcess(script) { |
This comment has been minimized.
This comment has been minimized.
richardlau
Nov 7, 2018
Member
Suggested change
| function spwanProcess(script) { | |
| function spawnProcess(script) { |
benchmark/misc/startup.js
Outdated
| return spawn(cmd, argv); | ||
| } | ||
|
|
||
| function spwanWorker(script) { |
This comment has been minimized.
This comment has been minimized.
richardlau
Nov 7, 2018
Member
Suggested change
| function spwanWorker(script) { | |
| function spawnWorker(script) { |
This comment has been minimized.
This comment has been minimized.
|
@richardlau Thanks, fixed the typo. (I don't think I can break anything with this but anyway a new CI): https://ci.nodejs.org/job/node-test-pull-request/18422/ |
joyeecheung
added
the
author ready
label
Nov 8, 2018
richardlau
approved these changes
Nov 8, 2018
This comment has been minimized.
This comment has been minimized.
|
Landed in 1698fc9 |
Trott
closed this
Nov 9, 2018
Trott
added a commit
to Trott/io.js
that referenced
this pull request
Nov 9, 2018
amel-true
added a commit
to amel-true/node
that referenced
this pull request
Nov 10, 2018
tadhgcreedon
pushed a commit
to tadhgcreedon/node
that referenced
this pull request
Nov 11, 2018
BridgeAR
added a commit
that referenced
this pull request
Nov 14, 2018
kiyomizumia
added a commit
to kiyomizumia/node
that referenced
this pull request
Nov 15, 2018
This was referenced Nov 15, 2018
codebytere
added a commit
that referenced
this pull request
Dec 14, 2018
MylesBorins
added a commit
that referenced
this pull request
Dec 26, 2018
This was referenced Jan 29, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
joyeecheung commentedNov 7, 2018
"instance" after running a script. By default there are two options:
test/fixtures/semicolonwhich is basically an empty file,and
benchmark/fixtures/require-cachablewhich require allthe cachable modules before exiting. This allows us to measure
the overhead of bootstrap in more scenarios.
node through a process and through a worker.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes