Skip navigation

chrome提供了两个运行参数来调试GPU加速,分别如下:

–show-composited-layer-borders:将由GPU处理的元素用一个红框标识出来,可以让开发者确认哪些区域有GPU加速

–show-paint-rects:非GPU渲染的区域在重新渲染时会用浅色边框标注,可以让你看看哪些区域频繁的更新,找出性能问题所在

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.