zoukankan      html  css  js  c++  java
  • 练练断句

    If you need to observe the exact memory usage of your application at any point, you can use the Heap Snapshotfeature within the Profilestab of the Chrome or Opera developer tools. To get an instant snapshot of memory usage by object, select the Take Heap Snapshotradio button and click the Startbutton. The snapshot taken will be visible in the left-hand panel, which you can select to show you a summary of objects created organized by the constructor function, or builtin type, used to instantiate it, and showing the memory size consumed by each. You can then drill down to find out which objects are consuming more memory than expected to allow you to fix specific issues that might be present in those objects.

    如果你需要随时观察确切的内存使用情况,你可以使用ChromeOpera开发者工具的Profiles标签页中的Heap Snapshot特性。要获取对象的内存使用情况快照,请选择Take Heap Snapshot单选按钮并点击Take Snapshot。各个快照结果将会显示在左方面板,你可以点击某个快照,以列表显示出所创建对象的摘要情况。列表按照对象进行实例化所使用的构造函数或JavaScript的内建数据类型(译者注:BooleanArray等)进行组织排列,显示出每一项所占用的内存数量。你可以下钻以找出哪些对象正在占用着比预期更多的内存,从而辅助你修改在那些对象中可能存在的特定问题。

  • 相关阅读:
    PHP开发者常犯的MySQL错误
    linux 用户管理
    php中mysql数据库异步查询实现
    PHP 安全相关 简单知识
    js倒计时 网上流传最多的
    TP学习笔记
    Java Map
    Java集合技巧
    Java集合之HashSet/TreeSet原理
    Java Set
  • 原文地址:https://www.cnblogs.com/da3j/p/4251991.html
Copyright © 2011-2022 走看看