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> |
||
|---|---|---|
| .. | ||
| function_call | ||
| child-process-read.js | ||
| domain-fn-args.js | ||
| module-loader.js | ||
| next-tick-breadth-args.js | ||
| next-tick-breadth.js | ||
| next-tick-depth-args.js | ||
| next-tick-depth.js | ||
| spawn-echo.js | ||
| startup.js | ||
| string-creation.js | ||
| string-decoder.js | ||
| timers.js | ||
| url.js | ||
| v8-bench.js | ||