mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
0f9efef05d
Instead of using kOnTimeout index to track a special list processing function, just pass in a function to C++ at startup that executes all handles and determines which function to call. This change improves the performance of unpooled timeouts by roughly 20%, as well as makes the unref/ref processing easier to follow. PR-URL: https://github.com/nodejs/node/pull/18582 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
10 lines
347 B
Plaintext
10 lines
347 B
Plaintext
*test*message*timeout_throw.js:*
|
|
undefined_reference_error_maker;
|
|
^
|
|
ReferenceError: undefined_reference_error_maker is not defined
|
|
at Timeout._onTimeout (*test*message*timeout_throw.js:*:*)
|
|
at ontimeout (timers.js:*:*)
|
|
at tryOnTimeout (timers.js:*:*)
|
|
at listOnTimeout (timers.js:*:*)
|
|
at Timer.processTimers (timers.js:*:*)
|