最佳答案
There used to be an option in dev tools under Render right next to the FPS Meter that said "Enable continuous page repainting". Now it's not there. Where did it go?
它已被删除。见 Crbug issue #523040 .
这里更广泛的问题是,您可以使用什么工作流程来取代连续绘画模式 (CPM)?
CPM 出现在我之前,但看起来它可以为您提供整个页面的绘画成本的实时估算。没有什么比这更好的了,但是性能记录绝对可以帮助您衡量您的页面正在绘制多少。一般的想法是开始记录,与您的页面交互,然后分析记录结果以查看发生了多少个绘画事件,以及每个事件花费了多少时间。见 Get Started With Analyzing Runtime Performance熟悉性能面板。
2017 年 11 月 2 日更新
Chrome 64(目前在 Canary 中)中的 DevTools 有一个接近 CPM 的新功能,称为 Performance Monitor .它显示 FPS、每秒布局和每秒样式重新计算的实时 View 。
关于google-chrome - chrome 开发工具 "continuous page repainting"选项在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45872787/