Sha256: 7ece4db91991bda0e16590082a7c7979a17e8624bc1f83551e35f3c4b481b217
Contents?: true
Size: 298 Bytes
Versions: 1
Compression:
Stored size: 298 Bytes
Contents
'use strict'; var common = require('../common.js'); var bench = common.createBenchmark(main, { millions: [100] }); function main(conf) { var n = +conf.millions * 1e6; bench.start(); var s; for (var i = 0; i < n; i++) { s = '01234567890'; s[1] = 'a'; } bench.end(n / 1e6); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
node-compiler-0.7.0 | vendor/node-v6.9.1/benchmark/misc/string-creation.js |