[HTML 5 Performance] Measuring used JS heap size in chrome
2021-04-01 01:27
标签:monitor bug UNC color chrome deb uri console his In this lesson we will see how to measure the used JS heap size in chrome. This can be used for various needs from performance debugging to production monitoring of apps. [HTML 5 Performance] Measuring used JS heap size in chrome 标签:monitor bug UNC color chrome deb uri console his 原文地址:https://www.cnblogs.com/Answer1215/p/12576430.htmlfunction measureMemory() {
console.log(`${performance.memory.usedJSHeapSize / Math.pow(1000, 2)} MB`);
}
文章标题:[HTML 5 Performance] Measuring used JS heap size in chrome
文章链接:http://soscw.com/essay/70712.html