mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
c7782c0af8
This commit uses separate functions to isolate deopts caused by try-catches and avoids fn.apply() for callbacks with small numbers of arguments. These changes improve performance by ~1-40% in the various nextTick benchmarks. PR-URL: https://github.com/iojs/io.js/pull/1571 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
12 lines
365 B
Plaintext
12 lines
365 B
Plaintext
|
|
*test*message*nexttick_throw.js:*
|
|
undefined_reference_error_maker;
|
|
^
|
|
ReferenceError: undefined_reference_error_maker is not defined
|
|
at *test*message*nexttick_throw.js:*:*
|
|
at doNTCallback0 (node.js:*:*)
|
|
at process._tickCallback (node.js:*:*)
|
|
at Function.Module.runMain (module.js:*:*)
|
|
at startup (node.js:*:*)
|
|
at node.js:*:*
|