Sha256: 94aaeb9f9df22cd6d4b9bed6949f30b7add6693fad64d8f3e25e273f16ce9df5

Contents?: true

Size: 257 Bytes

Versions: 5

Compression:

Stored size: 257 Bytes

Contents

'use strict';

const common = require('../common');

const bench = common.createBenchmark(main, {
  n: [1e6]
});


function main(conf) {
  const n = conf.n >>> 0;

  bench.start();
  for (var i = 0; i < n; i++) {
    process.hrtime();
  }
  bench.end(n);
}

Version data entries

5 entries across 4 versions & 1 rubygems

Version Path
node-compiler-0.9.1 vendor/node/benchmark/process/bench-hrtime.js
node-compiler-0.9.0 vendor/node-v7.2.1/benchmark/process/bench-hrtime.js
node-compiler-0.8.0 vendor/node-v7.2.0/benchmark/process/bench-hrtime.js
node-compiler-0.7.0 vendor/node-v6.9.1/benchmark/process/bench-hrtime.js
node-compiler-0.7.0 vendor/node-v7.1.0/benchmark/process/bench-hrtime.js