joyent/node — pull request #8472 by vkurchatkin (2014-09-30 15:40:56+00:00)
Title: node: avoid automatic microtask runs

As discussed in #8325 we should take advantage of `Isolate::SetAutorunMicrotasks`. This requires running microtasks manually prior to checking `tick_info->length()` as `process.nextTick` can be called inside of a microtask.

This change helps to avoid unnecessary automatic microtask runs and should positively affect performance.
/cc @trevnorris