浏览器/performance:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
== timeline ==
== timeline ==
更名 Performance
== Performance ==
运行时性能表现(runtime performance)。
== RAIL性能评估模型 ==
== Response ==
== Animation ==
== Idle ==
== 匿名模式 ==
<blockquote><pre>
CTRL + SHIFT + N</pre></blockquote>
开启匿名模式访问页面,减少 chrome 组件干扰性能。
== 开始分析 ==
* 打开 Performance 选项卡。
* 选中 Screenshots checkbox。
* Capture Settings 更多设置。
* 按键 <code>CTRL + E</code>。
[[文件:浏览器 performance 1.png|none|800px|左]]
=== FPS(frames per second) ===
分析每一秒的帧,我截取了大约 20s 的录制:
[[文件:浏览器 performancer 2.png|none|600px|左|浏览器 performancer 2]]
其中 fps 图表中红色部分代表存在帧问题。
[[文件:浏览器 performancer 3.png|none|500px|左|浏览器 performancer 3]]
=== CPU ===
FPS 表下面是 cpu 表,与最下方的 Summary 选项卡关联。
[[文件:浏览器 performancer 4.png|none|600px|左|浏览器 performancer 4]]
=== scrubbing ===
鼠标光标停留在图标上时会显示屏幕录像。
=== Frames ===
鼠标光标停留在 Frames 图表上时会显示鼠标光标所在点对应的时间的 fps。
=== Main ===
显示当前页面的函数事件(evement)调用时间,X 轴代表时间,Y轴代表调用栈。可以看到我的截图,有红色部分代表函数调用问题。双击红色部分可以看到更具体的内容。
[[文件:浏览器 performancer 5.png|none|600px|左|浏览器 performancer 5]]
=== Raster ===
=== Chrome_ChildOthread ===
=== Compositor ===