0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/benchmark/process
Anatoli Papirovski cbaf59c5b9
process: slightly simplify next tick execution
Get rid of separate function to call callback from _tickCallback as
it no longer yields worthwhile performance improvement.

Move some code from nextTick & internalNextTick into TickObject
constructor to minimize duplication.

PR-URL: https://github.com/nodejs/node/pull/16888
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
2017-11-28 08:48:30 -05:00
..
bench-env.js
bench-hrtime.js
memoryUsage.js benchmark: var to const 2017-09-19 21:14:38 -03:00
next-tick-breadth-args.js process: slightly simplify next tick execution 2017-11-28 08:48:30 -05:00
next-tick-breadth.js process: slightly simplify next tick execution 2017-11-28 08:48:30 -05:00
next-tick-depth-args.js benchmark: var to const 2017-09-19 21:14:38 -03:00
next-tick-depth.js benchmark: var to const 2017-09-19 21:14:38 -03:00
next-tick-exec-args.js process: slightly simplify next tick execution 2017-11-28 08:48:30 -05:00
next-tick-exec.js process: slightly simplify next tick execution 2017-11-28 08:48:30 -05:00