【问题标题】:Best way to check memory consumption of web page & SPA检查网页和 SPA 内存消耗的最佳方法
【发布时间】:2014-10-09 14:37:57
【问题描述】:

在 SPA 的世界中,使用 JQuery、AngularJS、ExtJs、Lodash 和各种其他 JavaScript 库等框架\库构建,我如何检查每个页面消耗了多少内存? 我还想知道我应该测量页面的参数是什么?如何检查每个组件\控件在页面中消耗了多少内存?

【问题讨论】:

    标签: javascript jquery angularjs firebug performance-testing


    【解决方案1】:

    我正在使用 chrome 开发者工具(在 chrome 中按 F12):

    您可以使用 Take Heap Snapshot 拍摄内存消耗快照或使用 Record Heap Allocations

    记录它

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多