Skip to content

node: improve nextTick performance

Rodrigo Muino Tomonari requested to merge github/fork/mscdex/nexttick-perf into master

This commit uses separate functions to isolate deopts caused by try-finallys and avoids fn.apply() for callbacks with small numbers of arguments.

These changes improve performance by ~2-42% in the various nextTick benchmarks.

Merge request reports

Loading