前端开发使用哪些工具来测试代码的性能
发布网友
发布时间:2022-05-15 03:18
我来回答
共1个回答
热心网友
时间:2022-04-23 21:41
Chrome有一个插件叫PageSpeed,谷歌官方出品。以当前页面为例存在下面的问题
Suggestion Summary
Click on the rule names to see suggestions for improvement.
Minimize payload
(M)Serve scaled images, (L)Enable compression, (L)Minify HTML, (L)Optimize images
Minimize delay in page load
(L)Avoid CSS @import, (L)Minimize request size, (L)Specify image dimensions, (L)Specify a character set
Other
(L)Leverage browser cachinghttp://www.315nk.com/app/?L)Enable Keep-Alive, (L)Remove query
strings from static resources, (L)Specify a Vary: Accept-Encoding header
HML分别代表问题的严重程度,高、中、低