Skip to content

process: improve performance of nextTick (v4.x backport)

This replaces TickObject with an object literal. This offers performance improvements of up to ~20%.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

process

Description of change

Backport of https://github.com/nodejs/node/pull/8932

This replaces TickObject with an object literal. This offers performance improvements of up to ~20%.

Merge request reports

Loading