WebPagetest Forums
Gaps between initial connection and TTFB - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Gaps between initial connection and TTFB (/showthread.php?tid=11777)



Gaps between initial connection and TTFB - philg - 10-16-2012 07:07 PM

Hello,

In the waterfalls, we're noticing some gaps between the initial connection (orange bar) and time to first byte (green bar) in which nothing seems to be doing anything. An example can be seen here: http://www.webpagetest.org/result/121015_BQ_C39/5/details/

We have older tests which show no gaps, e.g. here: http://www.webpagetest.org/result/120927_57_EDD/1/details/

We thought it might be something to do with CPU utilisation, but it doesn't seem maxed out during these gaps (mainly lines 4-8).

Is there an explanation behind these gaps, and/or any way we can reduce or remove them? They seem as if they might be having an impact on our overall page loading times.

Also talking about CPU usage, to save creating another thread, this set of tests has full CPU usage right from the start to the end of page load: http://www.webpagetest.org/result/121016_63_81H/ - this doesn't look right to us; is the CPU actually maxed out, or perhaps we've done something wrong with our test?

Thanks Smile


RE: Gaps between initial connection and TTFB - pmeenan - 10-17-2012 02:36 AM

The gaps are coming from Firefox's pre-connect where it establishes connections before it is ready to issue requests and is normal (you will see it on Chrome as well). IE generally doesn't do the same pre-connecting so you won't see it there.

As far as the CPU utilization goes, I'll take a look - it shouldn't be pegged like that (at a minimum it should start out low).