lib: make queueMicrotask faster
-
async_hooks: improve
AsyncResource
performance Accessing properties behind a symbol is generally quite expensive and so isemitInit
, only do both when actually required. -
lib: make
queueMicrotask
faster No longer create an additional scope withinqueueMicrotask
in order to improve performance.
CI: https://ci.nodejs.org/job/node-test-pull-request/22078/ Benchmark CI: https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/313/
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines