Skip to content

async.forEach { async.waterfall } #513

@TheRoSS

Description

@TheRoSS

I have too versions of function. They do the same things, load and parse data, but first do it with only async.each, but second do the same handling with async.each and inner async.waterflow

I supposed that there should be difference between them in timings, but not 100 times!
Even more, I tested the script on async 0.2.9
When I tried to launch it under asyn 0.7, the version with waterfall didn't work at all

And the very interesting thing that if I set timings on function execution, the function execution is not very different. The main lags appear between function calls. So I concluded that async perform some very heavy parallel stuff between toModels function calls.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions