Sha256: 47ac59a5906707955fdadd9e87eef9366a46164615a5c72e425c71c19f2f38fb
Contents?: true
Size: 377 Bytes
Versions: 5
Compression:
Stored size: 377 Bytes
Contents
'use strict'; var common = require('../common.js'); var bench = common.createBenchmark(main, { millions: [2] }); process.maxTickDepth = Infinity; function main(conf) { var n = +conf.millions * 1e6; bench.start(); process.nextTick(onNextTick); function onNextTick() { if (--n) process.nextTick(onNextTick); else bench.end(+conf.millions); } }
Version data entries
5 entries across 4 versions & 1 rubygems