mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
c8c2544cd9
This commit improves timers performance by making functions inlineable and avoiding the creation of extra closures/functions. This commit also makes setTimeout/Interval argument handling consistent with that of setImmediate. These changes give ~22% improvement in the existing 'breadth' timers benchmark. PR-URL: https://github.com/nodejs/node/pull/8661 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
9 lines
310 B
Plaintext
9 lines
310 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 Timer.listOnTimeout (timers.js:*:*)
|