0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/benchmark/misc
Brian White c7782c0af8 node: improve nextTick performance
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>
2015-05-01 21:27:34 -04:00
..
function_call
child-process-read.js
domain-fn-args.js
module-loader.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
next-tick-breadth-args.js node: improve nextTick performance 2015-05-01 21:27:34 -04:00
next-tick-breadth.js
next-tick-depth-args.js node: improve nextTick performance 2015-05-01 21:27:34 -04:00
next-tick-depth.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
spawn-echo.js
startup.js
string-creation.js
string-decoder.js string_decoder: optimize write() 2015-03-25 00:34:34 -04:00
timers.js
url.js
v8-bench.js benchmark: stop v8 benchmark clobbering RegExp 2015-01-18 14:08:29 +01:00