Keith Bentrup
Keith Bentrup

Reputation: 11995

How do you measure site load time in IE6?

I'm looking for something similar to Hammerhead. Currently, I write javascript code to test, and I'd rather just use a tool that I can easily share and has a GUI.

Edit: I'm hoping for something that tracks load events if possible and can easily do repeat tests.

Upvotes: 3

Views: 3144

Answers (2)

icc97
icc97

Reputation: 12813

With Firebug Lite, first note that there is a bug with 1.4 on IE8, I had to switch back to v1.3 as per this answer. Secondly you need to include the script link on your <head> rather than use the bookmarklet as when you reload the page the bookmarklet form of Firebug lite will disappear. It took me a while to figure out the code for logging the times, which I eventually found on p. 15 of this Firebug Guide

Put this code in your <head>

<script type="text/javascript" src="https://getfirebug.com/releases/lite/1.3/firebug-lite.js"></script>
<script type="text/javascript">console.time('firebug lite');</style>

and then put this code at the end of the body section:

<script type="text/javascript">console.timeEnd('firebug lite');</style>

Note that this will only tell you the load time of your html, css, script and images - not the time for server side code. If you want that you'll need to use Fiddler as per @scunliffe 's answer

Upvotes: 0

scunliffe
scunliffe

Reputation: 63626

Fiddler2 will provide load time information for your pages and all their content. In addition IE8's developer tools will indicate the load time for you of functions within the page. Just press F12.

For Fiddler, simply load the page and watch the headers/time results in the right hand frame.

For the IE8 Developer Tools:

  1. In the Profiler Tab, click Start Profiling
  2. Reload the page F5 then press Stop Profiling once loaded and you can see the time to call each function or the entire call tree.

You can also use Firebug Lite to give IE some Firebug love... just get and log the date at the beginning of the page load... and at the end of the page load... and log the delta.

Upvotes: 1

Related Questions