summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test push to branchno-draft-workflow-with-branchMichaël Zasso2020-11-011-0/+1
|
* build: do not run GitHub actions for draft PRsMichaël Zasso2020-11-019-1/+15
|
* deps: update to cjs-module-lexer@0.5.2Guy Bedford2020-10-318-68/+213
| | | | | | PR-URL: https://github.com/nodejs/node/pull/35901 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* tools: update ESLint to 7.12.1cjihrig2020-10-316-9/+15
| | | | | | | | | Update ESLint to 7.12.1 PR-URL: https://github.com/nodejs/node/pull/35799 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
* tools: update ESLint to 7.12.0cjihrig2020-10-3141-3277/+486
| | | | | | | | | Update ESLint to 7.12.0 PR-URL: https://github.com/nodejs/node/pull/35799 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
* http: report request start and end with diagnostics_channelStephen Belanger2020-10-313-0/+183
| | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/34895 Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* lib: create diagnostics_channel moduleStephen Belanger2020-10-3110-0/+444
| | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/34895 Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* test: add test to fs/promises setImmediatetyankatsu2020-10-311-0/+6
| | | | | | | | | | | | | Add test pattern to setImmediate when ref's type is not boolean PR-URL: https://github.com/nodejs/node/pull/35852 Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* crypto: rename check to createJobDaniel Bevenius2020-10-311-3/+3
| | | | | | | | | | This commit renames the check function to createJob which seems to be more descriptive of what this function does. PR-URL: https://github.com/nodejs/node/pull/35858 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
* doc: add on statement in the APIs docsPooja D.P2020-10-311-0/+4
| | | | | | PR-URL: https://github.com/nodejs/node/pull/35610 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* test: mark test-worker-eventlooputil flakyMyles Borins2020-10-311-0/+1
| | | | | | | | | | | | | This is consistently failing in CI right now. Lets mark it flaky while we figure out what is going on. Refs: https://github.com/nodejs/node/issues/35844 PR-URL: https://github.com/nodejs/node/pull/35886 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
* zlib: test BrotliCompress throws invalid arg valueraisinten2020-10-311-0/+20
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/35830 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
* n-api: napi_make_callback emit async init with resource of async_contextlegendecas2020-10-3110-98/+465
| | | | | | | | | | instead of emit async init with receiver of the callback. PR-URL: https://github.com/nodejs/node/pull/32930 Fixes: https://github.com/nodejs/node/issues/32898 Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
* test: mark test-http2-respond-file-error-pipe-offset flakyMyles Borins2020-10-301-0/+1
| | | | | | | | | | | | | | | This is now failing inconsistently across many platforms. This appears to be the result of the addition of mustSucceed being added to the test during testing refactoring. We should mark flaky until we have figured out what the issue is. Refs: https://github.com/nodejs/node/issues/35881 PR-URL: https://github.com/nodejs/node/pull/35883 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
* module: runtime deprecate subpath folder mappingsGuy Bedford2020-10-307-8/+171
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/35747 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
* assert,repl: enable ecmaVersion 2021 in acorn parserMichaël Zasso2020-10-303-3/+3
| | | | | | | | | | | | | | This adds support for the new logical assignment operators. PR-URL: https://github.com/nodejs/node/pull/35827 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
* test: fix reference to WPT testharness.jsTobias Nießen2020-10-301-1/+1
| | | | | | | | | | | The W3C testharness.js was moved to the `web-platform-tests/wpt` repository a while ago. PR-URL: https://github.com/nodejs/node/pull/35814 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* doc: fix a typo in CHANGELOG_V15Takuya Noguchi2020-10-301-1/+1
| | | | | | | | | | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> PR-URL: https://github.com/nodejs/node/pull/35804 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
* doc: move ronkorving to emeritusRich Trott2020-10-301-2/+2
| | | | | | | | | | | | | | In email, ronkorving indicated that he could/should be moved to emeritus at this time. PR-URL: https://github.com/nodejs/node/pull/35828 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ron Korving <ron@ronkorving.nl> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
* build,tools: gitHub Actions: use Node.js FermiumAntoine du Hamel2020-10-304-4/+10
| | | | | | PR-URL: https://github.com/nodejs/node/pull/35840 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* lib: use primordials when calling methods of ErrorAntoine du Hamel2020-10-308-37/+23
| | | | | | | | | | This is to unsure that code using those methods won't crash if the methods are deleted in userland. PR-URL: https://github.com/nodejs/node/pull/35837 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
* crypto: fixup scrypt regressionsJames M Snell2020-10-308-16/+18
| | | | | | | | | | | | | Fixes a handful of regressions in scrypt support following the refactor. Fixes: https://github.com/nodejs/node/issues/35815 PR-URL: https://github.com/nodejs/node/pull/35821 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* doc: recommend test-doc instead of lint-mdAntoine du Hamel2020-10-302-2/+2
| | | | | | | | | | | The documentation style guide used to recommend checking changes in the docs by running `make lint-md`. This leaves out some important checks which are contained in the `test-doc` build target. This commit also replaces `lint` by `lint-md` in the list of `test-doc`'s prerequisites. PR-URL: https://github.com/nodejs/node/pull/35708 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* build: add vcbuilt test-doc targetAntoine du Hamel2020-10-301-1/+2
| | | | | | PR-URL: https://github.com/nodejs/node/pull/35708 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* build,tools: add lint-js-doc targetAntoine du Hamel2020-10-301-3/+6
| | | | | | | | Add a build target to lint JS code in Markdown files only. PR-URL: https://github.com/nodejs/node/pull/35708 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* crypto: fix webcrypto ECDH JWK importFilip Skokan2020-10-302-2/+44
| | | | | | | | | | | | | This fixes the importKey operation when importing a JWK for the ECDH algorithm. As per the Web Crypto API specification the JWK `alg` property is not checked (as opposed to ECDSA). PR-URL: https://github.com/nodejs/node/pull/35855 Fixes: https://github.com/nodejs/node/issues/35812 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
* doc: fix reference to googletest test fixtureTobias Nießen2020-10-301-1/+1
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/35813 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
* tools: add msvc /P output to .gitignoreJiawen Geng2020-10-301-0/+3
| | | | | PR-URL: https://github.com/nodejs/node/pull/35735 Reviewed-By: Michaël Zasso <targos@protonmail.com>
* deps: upgrade to cjs-module-lexer@0.5.0Guy Bedford2020-10-298-48/+86
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/35871 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* test: add onerror test cases to policyDaijiro Wachi2020-10-292-4/+49
| | | | | | | | | | | Increase test coverage of lib/internal/policy/manifest.js PR-URL: https://github.com/nodejs/node/pull/35797 Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L60 Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L146 Reviewed-By: Ben Coe <bencoe@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* doc: stabilize packages featuresMyles Borins2020-10-291-16/+0
| | | | | | | | | | | | | | | | These features are being used in production and are ready to be considered stable. Refs: https://github.com/nodejs/modules/issues/564 PR-URL: https://github.com/nodejs/node/pull/35742 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* tools: add update-npm scriptMyles Borins2020-10-292-39/+64
| | | | | | | | | | | | I've had to update this one too many times, and much of it can be automated, so let's do that! The maintenance instructions have also been updated. PR-URL: https://github.com/nodejs/node/pull/35822 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
* doc: add conditional example for setBreakpoint()Chris Opperwall2020-10-291-0/+39
| | | | | | | | | | | | | | | | The `node-inspect` debugging client supports passing an optional third parameter as a string to be evaluated when the breakpoint is hit. If the condition evaluates to `true` in the current context, the breakpoint pauses execution; otherwise the execution continues. This was raised as an issue in https://github.com/nodejs/node-inspect/issues/68, but the client already supports that functionality, so I thought it'd be helpful to add it to the node documentation. PR-URL: https://github.com/nodejs/node/pull/35823 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com>
* test: add upstream test cases to encodingDaijiro Wachi2020-10-284-5/+19
| | | | | | | | | | Refs: https://github.com/web-platform-tests/wpt/pull/25988 Refs: https://github.com/web-platform-tests/wpt/pull/26158 PR-URL: https://github.com/nodejs/node/pull/35794 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* events: make abort_controller event trustedBenjamin Gruenbaum2020-10-285-6/+59
| | | | | | | | | | | | | | The AbortController abort event is trusted, currently we fire all events with isTrusted: false. Allow dispatching events internally with `isTrusted: true` and add a test for it. Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Fixes: https://github.com/nodejs/node/issues/35748 PR-URL: https://github.com/nodejs/node/pull/35811 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* events: make eventTarget.removeAllListeners() return thisLuigi Pinca2020-10-283-2/+6
| | | | | | | | | | Fixes: https://github.com/nodejs/node/issues/35762 PR-URL: https://github.com/nodejs/node/pull/35805 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
* doc: make small improvements to REPL docRich Trott2020-10-281-5/+4
| | | | | | | | | | | * button -> key * apply missing kbd element * revise "Recoverable errors" text for brevity and clarity PR-URL: https://github.com/nodejs/node/pull/35808 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* tls: allow reading data into a static bufferAndrey Pechkurov2020-10-286-44/+362
| | | | | | | | | Refs: #25436 PR-URL: https://github.com/nodejs/node/pull/35753 Refs: https://github.com/nodejs/node/pull/25436 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
* doc: update MessagePort documentation for EventTarget inheritanceAnna Henningsen2020-10-281-5/+9
| | | | | | | | | Refs: https://github.com/nodejs/node/pull/34057 Refs: https://github.com/nodejs/node/issues/35835 PR-URL: https://github.com/nodejs/node/pull/35839 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* child_process: add ChildProcess 'spawn' eventMatthew Francis Brunetti2020-10-284-0/+51
| | | | | | | | | | The new event signals that the subprocess has spawned successfully and no 'error' event will be emitted from failing to spawn. Fixes: https://github.com/nodejs/node/issues/35288 PR-URL: https://github.com/nodejs/node/pull/35369 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
* src: remove ERR prefix in WebCryptoKeyExportStatusDaniel Bevenius2020-10-286-25/+25
| | | | | | | | | | | | | | | | | | | This commit suggests removing the ERR prefix in the WebCryptoKeyExportStatus enum. The motivation for this is that I think it improves the readability of the code. For example, the following line had me look twice to see what was going on: case WebCryptoKeyExportStatus::ERR_OK: // Success! PR-URL: https://github.com/nodejs/node/pull/35639 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
* doc: use case-sensitive in the examplePooja D.P2020-10-271-1/+1
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/35624 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
* 2020-10-27, Version 14.15.0 'Fermium' (LTS)Richard Lau2020-10-273-5/+28
| | | | | | | | | | | Notable changes: This release marks the transition of Node.js 14.x into Long Term Support (LTS) with the codename 'Fermium'. The 14.x release line now moves into "Active LTS" and will remain so until October 2021. After that time, it will move into "Maintenance" until end of life in April 2023. PR-URL: https://github.com/nodejs/node/pull/35746
* 2020-10-27, Version 10.23.0 'Dubnium' (LTS)Richard Lau2020-10-272-1/+31
| | | | | | | | | | | | | | | | | Notable changes: - deps: - upgrade npm to 6.14.8 (Ruy Adorno) https://github.com/nodejs/node/pull/34834 - n-api: - create N-API version 7 (Gabriel Schulhof) https://github.com/nodejs/node/pull/35199 - expose napi_build_version variable (NickNaso) https://github.com/nodejs/node/pull/27835 - tools: - add debug entitlements for macOS 10.15+ (Gabriele Greco) https://github.com/nodejs/node/pull/34378 PR-URL: https://github.com/nodejs/node/pull/35544
* test: add upstream test cases to urlsearchparamDaijiro Wachi2020-10-273-2/+4
| | | | | | | | | Refs: https://github.com/web-platform-tests/wpt/pull/26126 PR-URL: https://github.com/nodejs/node/pull/35792 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* doc,test: update v8 method doc and commentRich Trott2020-10-272-5/+14
| | | | | | | | | Update documentation and test comment for v8.cachedDataVersionTag(). PR-URL: https://github.com/nodejs/node/pull/35795 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
* doc: consolidate and clarify breakOnSigInt textRich Trott2020-10-271-35/+35
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/35787 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* n-api: revert change to finalizationMichael Dawson2020-10-272-4/+8
| | | | | | | | | | | | | | | Fixes: https://github.com/nodejs/node/issues/35620 This reverts commit a6b655614f03e073b9c60f3d71ed884c5af32ffc which changed finalization behavior related to N-API. We will investigate the original issue with the test separately. PR-URL: https://github.com/nodejs/node/pull/35777 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
* worker: add eventLoopUtilization()Trevor Norris2020-10-279-24/+370
| | | | | | | | | | | | | | | | | | | | | Allow calling eventLoopUtilization() directly on a worker thread: const worker = new Worker('./foo.js'); const elu = worker.performance.eventLoopUtilization(); setTimeout(() => { worker.performance.eventLoopUtilization(elu); }, 10); Add a new performance object on the Worker instance that will hopefully one day hold all the other performance metrics, such as nodeTiming. Include benchmarks and tests. PR-URL: https://github.com/nodejs/node/pull/35664 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: James M Snell <jasnell@gmail.com>
* http: lazy create IncomingMessage.headersRobert Nagy2020-10-271-6/+56
| | | | | | | | When rawHeaders is enough don't create the headers object. PR-URL: https://github.com/nodejs/node/pull/35281 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>