INNER CODE UNIT · JavaScript
percentUsed
puppeteer/examples · code_coverage.js:230
const percentUsed = Math.round(totalUsedBytes / totalBytes * 100);
console.log(`Total used @ ${chalk.magenta(event)}: ${formatBytesToKB(totalUsedBytes)}/${formatBytesToKB(totalBytes)} (${percentUsed}%)`);
});
})();