[HTML 5 Performance] Measuring used JS heap size in chrome

Posted Answer1215

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[HTML 5 Performance] Measuring used JS heap size in chrome相关的知识,希望对你有一定的参考价值。

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.

 

function measureMemory() {
    console.log(`${performance.memory.usedJSHeapSize / Math.pow(1000, 2)} MB`);
}

 

以上是关于[HTML 5 Performance] Measuring used JS heap size in chrome的主要内容,如果未能解决你的问题,请参考以下文章

在R中练习k-meas聚类

MySQL的show profile简介以及该功能在MySQL 5.7中performance_schema中的替代

chrom里面的performance 颜色

AUTOCAD——Measregeom测量工具

使用 pd.read_clipboard 指定多级列?

MySQL Performance-Schema 配置篇