Skip to content

Commit 67c5f74

Browse files
Jonathan DarlingMylesBorins
Jonathan Darling
authored andcommitted
doc: standardizing on make -j4
Standardizes docs to use -j4 instead of -j8 as it appears to be the most inclusive recommendation based on discussion in #9961. PR-URL: #9961 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent 3d04491 commit 67c5f74

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
99
##### Checklist
1010
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
1111

12-
- [ ] `make -j8 test` (UNIX), or `vcbuild test nosign` (Windows) passes
12+
- [ ] `make -j4 test` (UNIX), or `vcbuild test nosign` (Windows) passes
1313
- [ ] tests and/or benchmarks are included
1414
- [ ] documentation is changed or added
1515
- [ ] commit message follows commit guidelines

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ to see how they should be structured can also help.
161161
To run the tests on Unix / OS X:
162162

163163
```text
164-
$ ./configure && make -j8 test
164+
$ ./configure && make -j4 test
165165
```
166166

167167
Windows:
@@ -194,7 +194,7 @@ You can run tests directly with node:
194194
$ ./node ./test/parallel/test-stream2-transform.js
195195
```
196196

197-
Remember to recompile with `make -j8` in between test runs if you change
197+
Remember to recompile with `make -j4` in between test runs if you change
198198
core modules.
199199

200200
### Step 6: Push

doc/guides/building-node-with-ninja.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ninja: Entering directory `out/Release`
1616

1717
The bottom line will change while building, showing the progress as `[finished/total]` build steps.
1818
This is useful output that `make` does not produce and is one of the benefits of using Ninja.
19-
Also, Ninja will likely compile much faster than even `make -j8` (or `-j<number of processor threads on your machine>`).
19+
Also, Ninja will likely compile much faster than even `make -j4` (or `-j<number of processor threads on your machine>`).
2020

2121
## Considerations
2222

doc/onboarding-extras.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Please use these when possible / appropriate
7070
* major vs. everything else: run last versions tests against this version, if they pass, **probably** minor or patch
7171
* A breaking change helper ([full source](https://gist.github.com/chrisdickinson/ba532fa0e4e243fb7b44)):
7272
```sh
73-
git checkout $(git show -s --pretty='%T' $(git show-ref -d $(git describe --abbrev=0) | tail -n1 | awk '{print $1}')) -- test; make -j8 test
73+
git checkout $(git show -s --pretty='%T' $(git show-ref -d $(git describe --abbrev=0) | tail -n1 | awk '{print $1}')) -- test; make -j4 test
7474
```
7575

7676

0 commit comments

Comments
 (0)