1'use strict'; 2 3const common = require('../common.js'); 4const bench = common.createBenchmark(main, { 5 n: [1e5], 6}); 7 8function main({ n }) { 9 bench.start(); 10 for (let i = 0; i < n; i++) { 11 process.memoryUsage(); 12 } 13 bench.end(n); 14} 15