aboutsummaryrefslogtreecommitdiff
path: root/test/message/stdin_messages.out
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben.bridgewater@fintura.de>2016-02-04 22:36:48 +0100
committerTrevor Norris <trev.norris@gmail.com>2016-02-09 02:46:43 -0700
commit88307974e60346bc98c4e9f70a2b6918ccb6844f (patch)
tree17514c436f2d53029c0fe1f80aa9a3b0ba929fd9 /test/message/stdin_messages.out
parent7764b6cb964ef8c481f3c348b76c6980e1e4f977 (diff)
downloadandroid-node-v8-88307974e60346bc98c4e9f70a2b6918ccb6844f.tar.gz
android-node-v8-88307974e60346bc98c4e9f70a2b6918ccb6844f.tar.bz2
android-node-v8-88307974e60346bc98c4e9f70a2b6918ccb6844f.zip
node: improve process.nextTick performance
Prevent deoptimization of process.nextTick by removing the try finally block. This is not necessary as the next tick queue will be reset anyway, no matter if the callback throws or not. Use a predefined array size prevents resizing the array and is therefor faster. PR-URL: https://github.com/nodejs/node/pull/5092 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/message/stdin_messages.out')
-rw-r--r--test/message/stdin_messages.out8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/message/stdin_messages.out b/test/message/stdin_messages.out
index 5790842607..2e08a70cc4 100644
--- a/test/message/stdin_messages.out
+++ b/test/message/stdin_messages.out
@@ -8,7 +8,7 @@ SyntaxError: Strict mode code may not include a with statement
at Object.<anonymous> ([stdin]-wrapper:*:*)
at Module._compile (module.js:*:*)
at node.js:*:*
- at nextTickCallbackWith0Args (node.js:*:*)
+ at _combinedTickCallback (node.js:*:*)
at process._tickCallback (node.js:*:*)
42
42
@@ -22,7 +22,7 @@ Error: hello
at Object.<anonymous> ([stdin]-wrapper:*:*)
at Module._compile (module.js:*:*)
at node.js:*:*
- at nextTickCallbackWith0Args (node.js:*:*)
+ at _combinedTickCallback (node.js:*:*)
at process._tickCallback (node.js:*:*)
[stdin]:1
@@ -34,7 +34,7 @@ Error: hello
at Object.<anonymous> ([stdin]-wrapper:*:*)
at Module._compile (module.js:*:*)
at node.js:*:*
- at nextTickCallbackWith0Args (node.js:*:*)
+ at _combinedTickCallback (node.js:*:*)
at process._tickCallback (node.js:*:*)
100
@@ -47,7 +47,7 @@ ReferenceError: y is not defined
at Object.<anonymous> ([stdin]-wrapper:*:*)
at Module._compile (module.js:*:*)
at node.js:*:*
- at nextTickCallbackWith0Args (node.js:*:*)
+ at _combinedTickCallback (node.js:*:*)
at process._tickCallback (node.js:*:*)
[stdin]:1