0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +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 benchmark: update misc to new v8 API 2013-08-01 15:02:38 -07:00
child-process-read.js bench: add child process read perf benchmark 2013-03-25 13:16:07 +01:00
domain-fn-args.js domain: forward args to .run(fn) 2014-12-12 12:14:11 +11:00
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