• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2
3const common = require('../common.js');
4const fs = require('fs');
5
6const bench = common.createBenchmark(main, {
7  n: [60e4]
8});
9
10function main({ n }) {
11  bench.start();
12  for (let i = 0; i < n; ++i)
13    fs.readFileSync(__filename);
14  bench.end(n);
15}
16