0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Anatoli Papirovski e7af9830e9 timers: run nextTicks after each immediate and timer
In order to better match the browser behaviour, run nextTicks (and
subsequently the microtask queue) after each individual Timer and
Immediate, rather than after the whole list is processed. The
current behaviour is somewhat of a performance micro-optimization
and also partly dictated by how timer handles were implemented.

PR-URL: https://github.com/nodejs/node/pull/22842
Fixes: https://github.com/nodejs/node/issues/22257
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2018-10-17 20:38:07 -07:00
..
api timers: run nextTicks after each immediate and timer 2018-10-17 20:38:07 -07:00
api_assets doc: Remove 'dnt_helper.js' 2018-09-02 12:47:09 +02:00
changelogs 2018-10-10, Version 10.12.0 (Current) 2018-10-10 23:18:55 +02:00
guides doc: remove 72-hour mentions in pull-requests.md 2018-10-07 16:44:43 -07:00
.eslintrc.yaml tools: lint doc code examples in strict mode 2018-07-06 08:45:34 +03:00
first_timer_badge.png
full-white-stripe.jpg
node.1 tools: add bash completion for node 2018-09-21 07:18:24 +02:00
offboarding.md doc: add offboarding doc 2018-06-05 15:22:15 -07:00
onboarding-extras.md doc: move upstream information to onboarding doc 2018-06-01 14:01:10 +02:00
onboarding.md doc: update author-ready label terms 2018-10-07 11:58:08 +03:00
osx_installer_logo.png
releases.md build,doc: remove outdated lint-md-build 2018-09-22 15:48:15 +02:00
STYLE_GUIDE.md doc: remove style instruction that is not followed 2018-10-10 20:09:49 -07:00
template.html doc: remove GA tracking 2018-10-04 07:18:23 +02:00
thin-white-stripe.jpg