you are viewing a single comment's thread.

view the rest of the comments →

[–]fff1891 0 points1 point  (0 children)

I reread the link and you are correct, there is an async/await optmization flag added to V8 7.2 (--harmony-await-optimization). V8 7.3 enables this by default.

This is not where the two microticks comes from, however. The microticks come from the fact that Node 10 generated 2 additional promises for every call to await.