const impact = require('sympact')
const report = await impact(`
let r = 2;
let c = 10e7;
while (c--) r = Math.pow(r, r);
return r;
`, 125)
console.log(report.times.execution.end - report.times.execution.start)
console.log(report.stats.cpu.mean)
console.log(report.stats.memory.mean)