chrome CPU时间线中的条纹灰色区域是什么意思? [英] What do the striped grey areas in the chrome CPU timeline mean?

查看:141
本文介绍了chrome CPU时间线中的条纹灰色区域是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这里显示的CPU使用率很高,但没有理由给出。从Android Chrome v51获取时间线。 解决方案

刚问过 Paul Irish 关于这个聊天。



Grey意味着DevTools意识到活动,但不知道活动的身份。

条带意味着脱离主线程的活动。

所以,灰色和条纹意味着未在主线程中发生的未识别活动。可能是服务人员的一些问题?



Paul说这很少见,并要求您捕获完整的跟踪(使用 chrome:// tracing )并在 crbug.com 上打开票证,以便DevTools团队可以诊断更多。如何指导追踪: https://www.chromium .org / developers / how-tos / trace-event-profiling-tool

There's significant CPU usage shown here, but no reason given. Timeline taken from Android Chrome v51.

解决方案

Just asked Paul Irish about this on chat.

Grey means that DevTools is aware of the activity but doesn't know the identity of it.

Striped means activity that is off of the main thread.

So, grey and striped means unidentified activity that is not occurring in the main thread. Maybe something in a service worker?

Paul said that this is rare, and asked you to capture a full trace (using chrome://tracing) and open a ticket on crbug.com so that DevTools team can diagnose more. How-to guide on tracing: https://www.chromium.org/developers/how-tos/trace-event-profiling-tool

这篇关于chrome CPU时间线中的条纹灰色区域是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆