【问题标题】:How to identify what is happening during "Other" in chrome profiling tool如何识别 chrome 分析工具中“其他”期间发生的情况
【发布时间】:2018-09-10 09:36:21
【问题描述】:

当页面充满数据时,我遇到了性能问题:

但是 chrome 在“其他”方面没有提供任何细节 - 那么如何找出在“其他”的 3.5 秒内发生了什么?

调用树中没有任何内容,事件日志中也没有任何内容

编辑:问题是“如何”,而不是“what

【问题讨论】:

标签: javascript performance google-chrome profiling


【解决方案1】:

我使用内容跟踪 (chrome://tracing) 工具完成了这项工作。它表明,在我的情况下,时间花在了通过 Skia (Canvas2DLayerBridge::flushRecording) 将记录的与画布相关的绘图调用刷新到 GPU 上。

我启用的类别如下,并且条目出现在相关渲染器进程的CrRendererMain线程上。

"disabled-by-default-gpu_decoder", "disabled-by-default-gpu.debug", "disabled-by-default-gpu.device", "disabled-by-default-gpu.service", "disabled-by-default-skia", "disabled-by-default-skia.gpu", "disabled-by-default-skia.gpu.cache"

【讨论】:

    猜你喜欢
    • 2018-11-21
    • 1970-01-01
    • 2015-09-23
    • 1970-01-01
    • 2015-10-22
    • 1970-01-01
    • 1970-01-01
    • 2015-10-10
    • 1970-01-01
    相关资源
    最近更新 更多