• Hierarchy Viewer显示视图性能指标


    Hierarchy Viewer默认打开“Tree View”窗口无法显示显示Performance indicators

    但选中根视图再点击按钮“Obtain layout times for tree rooted at selected node”:

    就可以显示:

    其上该视图性能的颜色指示符从左到右依次为:Measure、Layout和Draw,其中红色代表此树中该视图渲染最慢即占用总渲染时间的80%或其以上,绿色代表此树中该视图渲染时长小于总渲染时间的50%,黄色代表此树种该视图渲染时长50%或其以上但低于80%。

    ProfileNodesAction.java

    View Code

    HierarchyViewerDirector.java

    View Code

    DeviceBridge.java

    View Code

    ViewNode.java

    View Code

    DeviceConnection.java

    View Code

    ViewDebug.java

    View Code
  • 相关阅读:
    java List按照对象的属性进行分组
    postgresql数据库大量锁表的问题解决
    postgresql 并发update下导致的死锁问题
    Spring Boot 2.X(十):自定义注册 Servlet、Filter、Listener
    Spring Cloud(一):入门篇
    Spring Boot 2.X(九):Spring MVC
    Spring Boot 2.X(八):Spring AOP 实现简单的日志切面
    Spring Boot 2.X(七):Spring Cache 使用
    Spring Boot 2.X(六):Spring Boot 集成 Redis
    Spring Boot 2.X(五):MyBatis 多数据源配置
  • 原文地址:https://www.cnblogs.com/fanfeng/p/3263604.html
Copyright © 2020-2023  润新知