更新时间:2023-12-04 10:52:28
Chromium开发人员工具现在包括一个简单的CSS选择器时序分析器.
The Chromium Developer Tools now include a simple CSS selector timing profiler.
打开开发人员工具( F12
或 Ctrl + Shift + I
),然后选择配置文件";使用收集CSS选择器配置文件".(您需要启动分析并过一会儿才能查看结果).您可以在DevTools-Window底部的 ms
中将输出从百分比切换为时间度量.
Open the Developer Tools (F12
or Ctrl + Shift + I
) and select "Profiles"; use the "Collect CSS Selector Profile". (You need to start the profiling and stop it after a while to see the results) You can switch the output from percentages to time measures in ms
at the bottom of the DevTools-Window.