Проверьте скорость сайта с помощью Firebug

308
user1032531

Я использовал панель «Net» Firebug для проверки скорости моего сайта. У меня есть таймер на серверном скрипте, и он занимает всего около 0,02 секунды, но, черт возьми, он медленно отображает страницу (6 секунд). Затем я закрыл Firebug, и он рендерился почти мгновенно. Как мне использовать Firebug, чтобы точно проверить скорость работы сайта?

1

1 ответ на вопрос

1
Sebastian Zartner

Recording the network traffic data takes some time, which results in a slowdown of the page load. Though normally this slowdown isn't that big.

Note that the 20ms you measured only refers to the time needed to generate the page script. It doesn't take all the other requests into account involved into the page load, e.g. CSS, JavaScripts, images, etc.

I suggest you compare Firebug's Net panel output with the one of the Firefox DevTools' Network panel. If they differ much, disable the Console and Script panel and check if that makes any difference. If not, you may file a bug against Firebug.

Похожие вопросы