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

v15.5.0 release proposal #36597

Merged
merged 108 commits into from Dec 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
9852ebc
http: do not loop over prototype in Agent
targos Dec 6, 2020
040b39f
tools: enable no-unused-expressions lint rule
targos Nov 24, 2020
deaafd5
dns: refactor to use more primordials
aduh95 Nov 20, 2020
6a6b3af
doc: provide more context on techinical values
mhdawson Nov 20, 2020
166aa8a
test: fix child-process-pipe-dataflow
santigimeno Dec 3, 2020
d3d1f33
test: add SIGTRAP to test-signal-handler
Dec 3, 2020
023291b
test: check null proto-of-proto in util.inspect()
Trott Dec 5, 2020
169406b
src: add missing context scopes
addaleax Dec 6, 2020
8ecf2f9
tools: update doc tool dependencies
targos Dec 6, 2020
3341b2c
doc: document ABORT_ERR code
benjamingr Nov 29, 2020
02afe58
src: use using declarations consistently
danbev Dec 3, 2020
210390f
src: remove identical V macro
danbev Dec 7, 2020
2a60e3b
src: fix indentation in memory_tracker-inl.h
danbev Dec 7, 2020
31b062d
test: fix flaky test-repl
Trott Dec 6, 2020
5929b08
deps: upgrade npm to 7.1.0
ruyadorno Dec 4, 2020
04f1663
doc: add RaisinTen as a triager
RaisinTen Dec 6, 2020
26f8ccf
tools: update ESLint to 7.15.0
cjihrig Dec 6, 2020
7542a3b
tools: enable no-unsafe-optional-chaining lint rule
cjihrig Dec 6, 2020
e331de2
doc: reword POSIX threads text in addons.md
Trott Dec 7, 2020
dd705ad
test: increase execFile abort coverage
shootermv Dec 7, 2020
e46a46a
inspector: refactor to use more primordials
aduh95 Nov 21, 2020
6ecbc1d
stream: support abortsignal in constructor
benjamingr Dec 7, 2020
129053f
doc: update terminology
mhdawson Dec 10, 2020
1330995
build,lib,test: change whitelist to allowlist
targos Dec 6, 2020
e597882
src: add typedef for CleanupHookCallback callback
danbev Dec 8, 2020
4f3d7bb
src: introduce convenience node::MakeSyncCallback()
nicstange Nov 29, 2020
e2ced0d
perf_hooks: invoke performance_entry_callback via MakeSyncCallback()
nicstange Nov 29, 2020
f368d69
Revert "perf_hooks: make PerformanceObserver an AsyncResource"
nicstange Nov 29, 2020
0f749a3
test: add test for async contexts in PerformanceObserver
ZauberNerd Dec 2, 2020
c6e65d0
tools: update ini in tools/node-lint-md-cli-rollup
MylesBorins Dec 10, 2020
0baa610
deps: upgrade npm to 7.1.1
ruyadorno Dec 9, 2020
e233094
src: allow preventing SetPrepareStackTraceCallback
codebytere Dec 8, 2020
62bfe3d
doc: note v15.0.0 changed default --unhandled-rejections=throw
kaizhu256 Dec 3, 2020
e449571
child_process: add signal support to spawn
benjamingr Dec 7, 2020
13d6597
util: fix module prefixes during inspection
BridgeAR Nov 19, 2020
cc544db
util: fix instanceof checks with null prototypes during inspection
BridgeAR Nov 19, 2020
30fe0ff
deps: upgrade npm to 7.1.2
darcyclarke Dec 11, 2020
58319d5
tls: forward new SecureContext options
mildsunrise Dec 6, 2020
acd78d9
test: increased externalized string length
codebytere Dec 9, 2020
9891811
doc: edit addon text about event loop blocking
Trott Dec 8, 2020
56fe9ba
worker: refactor MessagePort entanglement management
addaleax Dec 1, 2020
96c095f
src: guard against env != null in node_errors.cc
addaleax Dec 6, 2020
21fbcb6
deps: V8: backport 4bf051d536a1
addaleax Dec 11, 2020
5ff7f42
src: use correct outer Context’s microtask queue
addaleax Dec 8, 2020
f7635fd
test: make executable name more general
codebytere Dec 12, 2020
1b4984d
src: remove duplicate V macros in node_v8.cc
danbev Dec 9, 2020
fa40366
util: simplify constructor retrieval in inspect()
Trott Dec 10, 2020
d299cee
test: increase coverage for net/blocklist
Lxxyx Dec 6, 2020
1ec8516
doc: add PoojaDurgad to collaborators
PoojaDurgad Dec 14, 2020
20ecc82
worker: fix broadcast channel SharedArrayBuffer passing
addaleax Dec 13, 2020
25a2454
doc: add v15.4.0 link to CHANGELOG.md
danielleadams Dec 9, 2020
584ea8b
build: fix make test-npm
ruyadorno Dec 3, 2020
22f0393
doc: revise addon mulitple initializations text
Trott Dec 9, 2020
9f2d3c2
test: remove test-http2-client-upload as flaky
Trott Dec 12, 2020
728f512
lib: make safe primordials safe to iterate
aduh95 Dec 4, 2020
d8b5b94
stream: accept iterable as a valid first argument
Lxxyx Dec 11, 2020
68687d3
src: remove empty name check in node_env_var.cc
RaisinTen Nov 16, 2020
109ab78
test: increase coverage for fs/dir read
Lxxyx Dec 4, 2020
7a34452
doc: add license info to the README
iam-frankqiu Nov 26, 2020
c3ec90d
doc: make explicit reverting node_version.h changes
richardlau Dec 9, 2020
81e603b
test: specify global object for globals
Trott Dec 13, 2020
cb4652e
deps: update to c-ares 1.17.1
lxdicted Nov 21, 2020
f09985d
doc: update url.md
aarock1234 Nov 17, 2020
eb29a16
doc: add issue reference to github pr template
chinmoy12c Dec 8, 2020
7b8d373
tools: lint shell scripts
aduh95 Nov 10, 2020
b0393fa
deps: upgrade npm to 7.2.0
MylesBorins Dec 16, 2020
752c94d
deps: fix npm doctor tests for pre-release node
nlf Dec 15, 2020
1f43aad
deps: update patch and docs for openssl update
MylesBorins Dec 14, 2020
27fb651
deps: upgrade openssl sources to 1.1.1i
MylesBorins Dec 14, 2020
309e297
deps: various quic patches from akamai/openssl
tmshort Apr 12, 2019
5b49807
deps: re-enable OPENSSL_NO_QUIC guards
jasnell Jun 24, 2020
b6a31f0
deps: update archs files for OpenSSL-1.1.1i
MylesBorins Dec 15, 2020
7efb311
src: remove unnecessary ToLocalChecked call
danbev Dec 15, 2020
25d7e90
http: use `autoDestroy: true` in incoming message
dnlup May 19, 2020
397e31e
http: reafactor incoming message destroy
dnlup Nov 24, 2020
4b81d79
http: fix lint error in incoming message
dnlup Dec 9, 2020
f11a648
http: add comments in _http_incoming
dnlup Dec 9, 2020
60b5e69
http: remove trailing space
dnlup Dec 11, 2020
36b4ddd
http: use standard args order in IncomingMEssage onError
dnlup Dec 11, 2020
213dcd7
http: add test for incomingmessage destroy
dnlup Dec 16, 2020
9830fe5
doc: move Derek Lewis to emeritus
Trott Dec 14, 2020
c6700ad
tools: remove unused variable in configure.py
Trott Dec 15, 2020
27260c7
tools: fix release script
aduh95 Dec 16, 2020
ad75c78
doc: add note about timingSafeEqual for TypedArray
tniessen Nov 30, 2020
149f2cf
doc: add two tips for speeding the dev builds
mmomtchev Dec 9, 2020
9fc2479
test: increase coverage for worker
Lxxyx Dec 12, 2020
95c80f5
build: run some workflows only on nodejs/node
targos Dec 14, 2020
3f33d0b
stream: fix pipe deadlock when starting with needDrain
ronag Dec 18, 2020
7c903ec
repl: disable blocking completions by default
addaleax Dec 18, 2020
bbc0d14
src: use correct microtask queue for checkpoints
addaleax Dec 19, 2020
e1f00fd
benchmark: reduce code duplication
Trott Dec 18, 2020
f3828c9
tools: fix update-eslint.sh
ZYSzys Dec 19, 2020
0d4d347
tools: update ESLint to 7.16.0
ZYSzys Dec 19, 2020
dc8d1a7
deps: upgrade npm to 7.3.0
ruyadorno Dec 18, 2020
c5602fb
doc: simplify worker_threads.md text
Trott Dec 17, 2020
e3c5adc
tools: fix release script sign function
aduh95 Dec 18, 2020
e30af7b
fs: refactor to use optional chaining
Lxxyx Dec 15, 2020
5481be8
lib: support BigInt in querystring.stringify
RaisinTen Dec 13, 2020
a1ba668
doc: add remark about Collaborators discussion page
iam-frankqiu Dec 7, 2020
9fbab3e
doc: update and run license-builder for Babel
targos Dec 14, 2020
82a2626
build: do not run GitHub actions for draft PRs
targos Nov 1, 2020
036ed1f
src: add way to get IsolateData and allocator from Environment
addaleax Dec 8, 2020
19c2332
doc: fix AbortSignal example for stream.Readable
targos Dec 22, 2020
d38a0ec
src: remove unnecessary ToLocalChecked node_errors
danbev Dec 17, 2020
22ac227
test: increase coverage for stream
Lxxyx Dec 16, 2020
ecbb757
tools: fix make-v8.sh
richardlau Dec 21, 2020
01576fb
test: increase abort logic coverage
shootermv Dec 18, 2020
f978628
2020-12-22, Version 15.5.0 (Current)
targos Dec 21, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .eslintrc.js
Expand Up @@ -234,6 +234,8 @@ module.exports = {
'no-unreachable': 'error',
'no-unsafe-finally': 'error',
'no-unsafe-negation': 'error',
'no-unsafe-optional-chaining': 'error',
'no-unused-expressions': ['error', { allowShortCircuit: true }],
'no-unused-labels': 'error',
'no-unused-vars': ['error', { args: 'none', caughtErrors: 'all' }],
'no-use-before-define': ['error', {
Expand Down
4 changes: 4 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Expand Up @@ -7,6 +7,10 @@ Bug fixes and new features should include tests and possibly benchmarks.
Contributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
-->

#### Related Issues

Fixes: https://github.com/nodejs/node/issues/<issue_number>

##### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-tarball.yml
Expand Up @@ -13,6 +13,7 @@ env:

jobs:
build-tarball:
if: github.event.pull_request.draft == false
env:
PYTHON_VERSION: 3.9
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows.yml
Expand Up @@ -15,6 +15,7 @@ env:

jobs:
build-windows-with-quic:
if: github.event.pull_request.draft == false
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/close-stalled.yml
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
stale:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/comment-stalled.yml
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
staleComment:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- name: Post comment
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/coverage-linux.yml
Expand Up @@ -22,6 +22,7 @@ env:

jobs:
coverage-linux:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/coverage-windows.yml
Expand Up @@ -22,6 +22,7 @@ env:

jobs:
coverage-windows:
if: github.event.pull_request.draft == false
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/license-builder.yml
Expand Up @@ -7,7 +7,8 @@ on:
workflow_dispatch:

jobs:
update_routes:
update_license:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/linters.yml
Expand Up @@ -14,6 +14,7 @@ env:

jobs:
lint-addon-docs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -26,6 +27,7 @@ jobs:
- name: Lint addon docs
run: NODE=$(command -v node) make lint-addon-docs
lint-cpp:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -38,6 +40,7 @@ jobs:
- name: Lint C/C++ files
run: make lint-cpp
lint-md:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -52,6 +55,7 @@ jobs:
echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
NODE=$(command -v node) make lint-md
lint-js:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -64,6 +68,7 @@ jobs:
- name: Lint JavaScript files
run: NODE=$(command -v node) make lint-js
lint-py:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -77,8 +82,16 @@ jobs:
run: |
make lint-py-build || true
NODE=$(command -v node) make lint-py

lint-sh:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: shellcheck -V
- name: Lint Shell scripts
run: tools/lint-sh.js .
lint-codeowners:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/misc.yml
Expand Up @@ -13,6 +13,7 @@ env:

jobs:
build-docs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-asan.yml
Expand Up @@ -19,6 +19,7 @@ env:

jobs:
test-asan:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
env:
CC: clang
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-linux.yml
Expand Up @@ -15,6 +15,7 @@ env:

jobs:
test-linux:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -30,6 +31,7 @@ jobs:
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"

test-linux-with-quic:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-macos.yml
Expand Up @@ -15,6 +15,7 @@ env:

jobs:
test-macOS-with-quic:
if: github.event.pull_request.draft == false
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand Down
24 changes: 24 additions & 0 deletions BUILDING.md
Expand Up @@ -30,6 +30,7 @@ file a new issue.
* [Building the documentation](#building-the-documentation)
* [Building a debug build](#building-a-debug-build)
* [Building an ASAN build](#building-an-asan-build)
* [Speeding up frequent rebuilds when developing](#speeding-up-frequent-rebuilds-when-developing)
* [Troubleshooting Unix and macOS builds](#troubleshooting-unix-and-macos-builds)
* [Windows](#windows)
* [Prerequisites](#prerequisites)
Expand Down Expand Up @@ -527,6 +528,29 @@ $ ./configure --debug --enable-asan && make -j4
$ make test-only
```

#### Speeding up frequent rebuilds when developing

If you plan to frequently rebuild Node.js, especially if using several branches,
installing `ccache` can help to greatly reduce build times. Set up with:
```console
$ sudo apt install ccache # for Debian/Ubuntu, included in most Linux distros
$ ccache -o cache_dir=<tmp_dir>
$ ccache -o max_size=5.0G
$ export CC="ccache gcc" # add to your .profile
$ export CXX="ccache g++" # add to your .profile
```
This will allow for near-instantaneous rebuilds even when switching branches.

When modifying only the JS layer in `lib`, it is possible to externally load it
without modifying the executable:
```console
$ ./configure --node-builtin-modules-path $(pwd)
```
The resulting binary won't include any JS files and will try to load them from
the specified directory. The JS debugger of Visual Studio Code supports this
configuration since the November 2020 version and allows for setting
breakpoints.

#### Troubleshooting Unix and macOS builds

Stale builds can sometimes result in `file not found` errors while building.
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -32,7 +32,9 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V15.md#15.3.0">15.3.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V15.md#15.5.0">15.5.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.4.0">15.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.3.0">15.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.2.1">15.2.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.2.0">15.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V15.md#15.1.0">15.1.0</a><br/>
Expand Down
5 changes: 3 additions & 2 deletions GOVERNANCE.md
Expand Up @@ -151,8 +151,9 @@ The nomination passes if no Collaborators oppose it after one week. Otherwise,
the nomination fails.

There are steps a nominator can take in advance to make a nomination as
frictionless as possible. Use the [Collaborators discussion page][] to request
feedback from other Collaborators in private. A nominator may also work with the
frictionless as possible. To request feedback from other Collaborators in
private, use the [Collaborators discussion page][]
(which only Collaborators may view). A nominator may also work with the
nominee to improve their contribution profile.

Collaborators might overlook someone with valuable contributions. In that case,
Expand Down
6 changes: 3 additions & 3 deletions LICENSE
Expand Up @@ -1248,12 +1248,12 @@ The externally maintained libraries used by Node.js are:
THE SOFTWARE.
"""

- babel-eslint, located at tools/node_modules/babel-eslint, is licensed as follows:
- Babel, located at tools/node_modules/@babel, is licensed as follows:
"""
Copyright (c) 2014-2016 Sebastian McKenzie <sebmck@gmail.com>

MIT License

Copyright (c) 2014-present Sebastian McKenzie and other contributors

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -593,7 +593,7 @@ test-known-issues: all

# Related CI job: node-test-npm
test-npm: $(NODE_EXE) ## Run the npm test suite on deps/npm.
$(NODE) tools/test-npm-package --install --logfile=test-npm.tap deps/npm test-node
$(NODE) tools/test-npm-package --install --logfile=test-npm.tap deps/npm test

test-npm-publish: $(NODE_EXE)
npm_package_config_publishtest=true $(NODE) deps/npm/test/run.js
Expand Down
17 changes: 15 additions & 2 deletions README.md
Expand Up @@ -34,6 +34,7 @@ The Node.js project uses an [open governance model](./GOVERNANCE.md). The
* [TSC (Technical Steering Committee)](#tsc-technical-steering-committee)
* [Collaborators](#collaborators)
* [Release Keys](#release-keys)
* [License](#license)

## Support

Expand Down Expand Up @@ -284,8 +285,6 @@ For information about the governance of the Node.js project, see
**Danielle Adams** &lt;adamzdanielle@gmail.com&gt; (she/her)
* [davisjam](https://github.com/davisjam) -
**Jamie Davis** &lt;davisjam@vt.edu&gt; (he/him)
* [DerekNonGeneric](https://github.com/DerekNonGeneric) -
**Derek Lewis** &lt;DerekNonGeneric@inf.is&gt; (he/him)
* [devnexen](https://github.com/devnexen) -
**David Carlier** &lt;devnexen@gmail.com&gt;
* [devsnek](https://github.com/devsnek) -
Expand Down Expand Up @@ -372,6 +371,8 @@ For information about the governance of the Node.js project, see
**Ali Ijaz Sheikh** &lt;ofrobots@google.com&gt; (he/him)
* [oyyd](https://github.com/oyyd) -
**Ouyang Yadong** &lt;oyydoibh@gmail.com&gt; (he/him)
* [PoojaDurgad](https://github.com/PoojaDurgad) -
**Pooja D P** &lt;Pooja.D.P@ibm.com&gt; (she/her)
* [psmarshall](https://github.com/psmarshall) -
**Peter Marshall** &lt;petermarshall@chromium.org&gt; (he/him)
* [puzpuzpuz](https://github.com/puzpuzpuz) -
Expand Down Expand Up @@ -459,6 +460,8 @@ For information about the governance of the Node.js project, see
**Claudio Rodriguez** &lt;cjrodr@yahoo.com&gt;
* [DavidCai1993](https://github.com/DavidCai1993) -
**David Cai** &lt;davidcai1993@yahoo.com&gt; (he/him)
* [DerekNonGeneric](https://github.com/DerekNonGeneric) -
**Derek Lewis** &lt;DerekNonGeneric@inf.is&gt; (he/him)
* [digitalinfinity](https://github.com/digitalinfinity) -
**Hitesh Kanwathirtha** &lt;digitalinfinity@gmail.com&gt; (he/him)
* [eljefedelrodeodeljefe](https://github.com/eljefedelrodeodeljefe) -
Expand Down Expand Up @@ -574,6 +577,8 @@ maintaining the Node.js project.

* [PoojaDurgad](https://github.com/PoojaDurgad) -
**Pooja Durgad** &lt;Pooja.D.P@ibm.com&gt;
* [RaisinTen](https://github.com/RaisinTen) -
**Darshan Sen** &lt;raisinten@gmail.com&gt;

### Release Keys

Expand Down Expand Up @@ -641,6 +646,14 @@ Other keys used to sign some previous releases:
* **Timothy J Fontaine** &lt;tjfontaine@gmail.com&gt;
`7937DFD2AB06298B2293C3187D33FF9D0246406D`

## License

Node.js is available under the
[MIT license](https://opensource.org/licenses/MIT). Node.js also includes
external libraries that are available under a variety of licenses. See
[LICENSE](https://github.com/nodejs/node/blob/master/LICENSE) for the full
license text.

[Code of Conduct]: https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md
[Contributing to the project]: CONTRIBUTING.md
[Node.js Website]: https://nodejs.org/
Expand Down
1 change: 0 additions & 1 deletion benchmark/_benchmark_progress.js
Expand Up @@ -39,7 +39,6 @@ class BenchmarkProgress {
this.completedConfig = 0;
// Total number of configurations for the current file
this.scheduledConfig = 0;
this.interval; // Updates the elapsed time.
}

startQueue(index) {
Expand Down
20 changes: 1 addition & 19 deletions benchmark/child_process/child-process-params.js
Expand Up @@ -82,6 +82,7 @@ function main({ n, methodName, params }) {
}
break;
case 'execFileSync':
case 'spawnSync':
switch (params) {
case 1:
bench.start();
Expand Down Expand Up @@ -119,24 +120,5 @@ function main({ n, methodName, params }) {
break;
}
break;
case 'spawnSync':
switch (params) {
case 1:
bench.start();
for (let i = 0; i < n; i++) method(command);
bench.end(n);
break;
case 2:
bench.start();
for (let i = 0; i < n; i++) method(command, args);
bench.end(n);
break;
case 3:
bench.start();
for (let i = 0; i < n; i++) method(command, args, options);
bench.end(n);
break;
}
break;
}
}
6 changes: 4 additions & 2 deletions benchmark/es/destructuring-bench.js
Expand Up @@ -12,7 +12,8 @@ function runSwapManual(n) {
let x, y, r;
bench.start();
for (let i = 0; i < n; i++) {
x = 1, y = 2;
x = 1;
y = 2;
r = x;
x = y;
y = r;
Expand All @@ -26,7 +27,8 @@ function runSwapDestructured(n) {
let x, y;
bench.start();
for (let i = 0; i < n; i++) {
x = 1, y = 2;
x = 1;
y = 2;
[x, y] = [y, x];
assert.strictEqual(x, 2);
assert.strictEqual(y, 1);
Expand Down
2 changes: 1 addition & 1 deletion benchmark/perf_hooks/bench-eventlooputil.js
Expand Up @@ -33,7 +33,7 @@ function main({ method, n }) {
function benchIdleTime(n) {
bench.start();
for (let i = 0; i < n; i++)
nodeTiming.idleTime;
nodeTiming.idleTime; // eslint-disable-line no-unused-expressions
bench.end(n);
}

Expand Down