Tough Eye 2003 organiser badge
During 2002/2003 I was involved in the International Animation Festival - Tough Eye as a "Master of the Web".

Page load time measuring with WBench, Chromium and Firefox

Page loading speed can be measured with the given (Timing) API, and one handy tool for quickly getting those numbers, is WBench. It starts the given browser with empty cache and loads the given URL. This is done 10 times by default and the results are then printed to the terminal.

The commands below have been tested in Ubuntu 13.04 (Linux OS) where the Chromium Browser and RubyGems had already been installed via apt-get.

sudo gem install wbench

At the time of writing, the latest ChromeDriver is 2.4, and it requires the Chromium version to be at least 29.0.1545.0.

The versions from 2.0, until 2.4 are all available at ChromeDriver downloads, thus pick the version suitable.

wget http://chromedriver.storage.googleapis.com/2.4/chromedriver_linux32.zip
unzip chromedriver_linux32.zip
sudo mv chromedriver /usr/local/bin/

As for Firefox, it is enough if a recent version is installed and available in the path.

Run the page load tests with the following commands:

wbench http://naginata.fi > naginata.fi-chromium_20131007.log
wbench -b firefox http://naginata.fi > naginata.fi-firefox_20131007.log

The results are somewhat similar to the ones below, first Chromium:

Testing http://naginata.fi
At Mon Oct  7 19:01:58 2013
10 loops
                                   Fastest   Median    Slowest   Std Dev
---------------------------------------------------------------------------

Server performance:
Total application time                      Unable to be recorded

Host latency:
farm7.staticflickr.com             6ms       6ms       40ms      10ms
naginata.fi                        7ms       9ms       10ms      0ms
www.google-analytics.com           6ms       7ms       14ms      2ms

Browser performance:
Navigation Start:                  0ms       0ms       0ms       0ms
Redirect Start:                    0ms       0ms       0ms       0ms
Redirect End:                      190ms     195ms     206ms     5ms
Connect Start:                     190ms     195ms     206ms     5ms
Connect End:                       190ms     195ms     206ms     5ms
Domain Lookup Start:               190ms     195ms     206ms     5ms
Domain Lookup End:                 190ms     195ms     206ms     5ms
Fetch Start:                       190ms     195ms     206ms     5ms
Request Start:                     192ms     198ms     213ms     6ms
Response Start:                    372ms     382ms     398ms     8ms
Response End:                      373ms     387ms     403ms     9ms
DOM Loading:                       380ms     396ms     421ms     14ms
DOM Interactive:                   762ms     791ms     814ms     15ms
DOM Content Loaded Event Start:    762ms     791ms     814ms     15ms
DOM Content Loaded Event End:      800ms     822ms     852ms     16ms
DOM Complete:                      964ms     990ms     1258ms    83ms
Load Event Start:                  964ms     990ms     1258ms    83ms
Load Event End:                    964ms     992ms     1267ms    85ms

Then same for Firefox:

Testing http://naginata.fi
At Mon Oct  7 19:03:45 2013
10 loops
                                   Fastest   Median    Slowest   Std Dev
---------------------------------------------------------------------------

Server performance:
Total application time                      Unable to be recorded

Host latency:
farm7.staticflickr.com             7ms       8ms       18ms      3ms
naginata.fi                        8ms       9ms       17ms      2ms
www.google-analytics.com           6ms       7ms       26ms      5ms

Browser performance:
Navigation Start:                  0ms       0ms       0ms       0ms
Redirect Start:                    14ms      18ms      26ms      4ms
Redirect End:                      200ms     213ms     226ms     8ms
Connect Start:                     200ms     213ms     226ms     8ms
Connect End:                       200ms     213ms     226ms     8ms
Domain Lookup Start:               204ms     216ms     234ms     8ms
Domain Lookup End:                 204ms     216ms     234ms     8ms
Fetch Start:                       200ms     213ms     226ms     8ms
Request Start:                     208ms     223ms     236ms     8ms
Response Start:                    381ms     401ms     415ms     8ms
Response End:                      383ms     404ms     417ms     9ms
DOM Loading:                       382ms     402ms     416ms     8ms
DOM Interactive:                   773ms     832ms     1351ms    167ms
DOM Content Loaded Event Start:    775ms     833ms     1355ms    167ms
DOM Content Loaded Event End:      800ms     859ms     1383ms    167ms
DOM Complete:                      932ms     1003ms    1519ms    168ms
Load Event Start:                  932ms     1003ms    1519ms    168ms
Load Event End:                    932ms     1003ms    1520ms    168ms

Please note that the log files above might include the colour markings meant for terminal, such as ESC[0;33;49m. Those have been removed from the above examples.

There is a feature request that would enable creating the report without colouring.

It is also possible to run the tests with Safari, while in Mac OS…