Web 性能分析
# 性能分析
使用 Performance API 处理数据可视化,本地使用本地展示,不会远程收集用户任何数据,展示数据也不会对当前网页造成任何破坏。
- 关键性能指标。忽略页面卸载时间、重定向时间。
1. 首包:`responseStart - domainLookupStart`
2. 首次渲染/白屏:`responseEnd - fetchStart`
3. 首次可交互:`domInteractive - fetchStart`
4. DOM Ready:`domContentLoadedEventEnd - fetchStart`
5....
Developer Tools