You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't had a chance to look through and figure out what has changed with eachSeries between 1.2.x and 1.3.x, but I have noticed there is a severe performance regression (to the point of it being unusable). It is easily reproducible with the following fiddles:
@goldfire
I'm sorry to reply late.
Your benchmark is very right.
On v1.3.x, series functions (eachSeries, eachLimit, series…) were changed to call async.nextTick at the tail of each iterator when the iterator was called synchronously (nextTick is not called in the whole of the iterator.) to avoid stack overflow even if developer does not care about it.
async v1.x is already changed it.
I want to remove nextTick too.
But there are some cases that had occurred stack overflow by Async on production environment, I do not want to cause it.
On v2.x, I’m going to enable to select safe or fast. (default is safe)
I haven't had a chance to look through and figure out what has changed with eachSeries between 1.2.x and 1.3.x, but I have noticed there is a severe performance regression (to the point of it being unusable). It is easily reproducible with the following fiddles:
1.2.1 - http://jsfiddle.net/4vg8p84w/
1.3.2 - http://jsfiddle.net/j3r5az56/
The text was updated successfully, but these errors were encountered: