Large chunk of no activity in Chrome DevTools' network tab

≯℡__Kan透↙ 提交于 2019-12-13 03:55:35

问题


Okay, I'm trying to detect a reason for a slow loading of a website page using network tab in chrome devtools. In my past experience there always were some large files or slow links to 3rd party sources, but now I'm in total confusion because for a large amount of time there is no downloads at all: screenshot of network tab

What is also strange is than for a last second there is a file with a size less than 1 kilobyte and it's loading for half of a second, although it's not a main issue here.


回答1:


Try using the Performance panel instead. My guess is that your page is running a lot of JavaScript during the "large chunk of no activity".

Open the Performance panel and click Reload.

If you see a wall of yellow activity in the CPU chart, it means that your CPU was completely busy running JavaScript.

The Audits panel is the best tool in DevTools for learning how to improve your page load speed. It runs a bunch of tests on whatever page you've got open and gives you tips on how to speed up the page. Check out Optimize Website Speed.



来源:https://stackoverflow.com/questions/52441013/large-chunk-of-no-activity-in-chrome-devtools-network-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!