0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/benchmark/timers
Anatoli Papirovski 23a56e0c28
timers: use only a single TimerWrap instance
Hang all timer lists off a single TimerWrap and use the PriorityQueue
to manage expiration priorities. This makes the Timers code clearer,
consumes significantly less resources and improves performance.

PR-URL: https://github.com/nodejs/node/pull/20555
Fixes: https://github.com/nodejs/node/issues/16105
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2018-05-22 23:26:12 +04:00
..
immediate.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
set-immediate-breadth-args.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
set-immediate-breadth.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
set-immediate-depth-args.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
timers-breadth.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
timers-cancel-pooled.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
timers-cancel-unpooled.js timers: use only a single TimerWrap instance 2018-05-22 23:26:12 +04:00
timers-depth.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
timers-insert-pooled.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
timers-insert-unpooled.js timers: use only a single TimerWrap instance 2018-05-22 23:26:12 +04:00
timers-timeout-pooled.js benchmark: changed millions and thousands to n 2018-04-10 00:22:33 +02:00
timers-timeout-unpooled.js timers: refactor timer list processing 2018-02-09 14:59:07 -05:00