function waterfallTest(e){for(var r=[],o=0;o<1e4;o++)r.push(function(e){function r(e){return e()}function o(e){e()}function s(e){return e()}async.waterfall([r,o,s],e)});async.parallel(r,e)}function reportMemory(){global.gc();var e=process.memoryUsage().heapUsed-startMem;console.log("memory increase: "+ +(e/1024).toPrecision(3)+"kB")}"--expose-gc"!==process.execArgv[0]&&(console.error("please run with node --expose-gc"),process.exit(1));var async=require("../");global.gc();var startMem=process.memoryUsage().heapUsed;waterfallTest(function(){setTimeout(reportMemory,0)});