use setImmediate, the perf is now staggering good