Loading repository data…
Loading repository data…
suguru03 / repository
Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster
Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster.
Benchmark is here!
Bluebird's benchmark is here!

<script src="async.min.js"></script>
require(['async'], function(async) {});
I recommend to use Aigle.
It is optimized for Promise handling and has almost the same functionality as neo-async.
$ npm install neo-async
var async = require('neo-async');
$ npm install neo-async
$ ln -s ./node_modules/neo-async ./node_modules/async
var async = require('async');
bower install neo-async
* not in Async
eacheachSerieseachLimitforEach -> eachforEachSeries -> eachSeriesforEachLimit -> eachLimiteachOf -> eacheachOfSeries -> eachSerieseachOfLimit -> eachLimitforEachOf -> eachforEachOfSeries -> eachSeriesparallelseriesparallelLimittryEachwaterfallangelFall *angelfall -> angelFall *whilstdoWhilstuntildoUntilduringdoDuringforevercomposeseqapplyEachapplyEachSeriesqueuepriorityQueuecargoapplysetImmediatenextTickmemoizeunmemoizeensureAsyncconstantasyncifywrapSync -> asyncifylogdirtimeoutreflectreflectAllcreateLogger$ node perf
The value is the ratio (Neo-Async/Async) of the average speed.
| function | benchmark |
|---|---|
| each/forEach | 2.43 |
| eachSeries/forEachSeries | 1.75 |
| eachLimit/forEachLimit | 1.68 |
| eachOf | 3.29 |
| eachOfSeries | 1.50 |
| eachOfLimit | 1.59 |
| map | 3.95 |
| mapSeries | 1.81 |
| mapLimit | 1.27 |
| mapValues | 2.73 |
| mapValuesSeries | 1.59 |
| mapValuesLimit |
pick *omit *foldr -> reduceRightauto