Compare Web Page Loading Speed on different Hosting Providers


++++

I performed some tests on a web page loading speed on four my websites that are hosted on different servers. The hosting providers are: 3ix.org, fatcow.com, and justhost.com. I used the same page with 20 photographs 500x300 pixels to make loading slower and catch speed difference. Also, I tested what page element affect loading speed most. I tried to add and remove pictures, javascript code, google ads and affiliated ads from Comission junction and Sharesale.

I use the following PHP code. One piece of code I placed on the beginning of the speed.php page and one piece at the end of the page.

At the begining of the page I saved start time in the $start: variable

$starttime = microtime();
$time = explode(" ", $starttime);
$start = $time[1] + $time[0];

At the end of the page I saved end time in the $end variable:

$endtime = microtime();
$endtime = explode(" ", $endtime);
$end = $endtime[1] + $endtime[0];

//The difference gives us speed.php page loading time
$loadingtime = ($end - $start);
printf ("This page took %f seconds to load.", $loadingtime);

a PHP script is executed on server and execution time is not depending so much on number of images on the page. The number of images or JavaScript scripts affect speed of loading the page in browser. To test the page loading time in the browser I use javascript. You can right click test page, select view source code and see that java script. The function definition is located between head tags. Then the fuction is called at the end of the page.

Host Unlimited Domains on 1 Account

I used page with many photograph to measure loading time. When page is loaded I scrolled to the end and saw the loading time. PHP script measured processing time on the server and JavaScript measured page loading time in the browser.

http://www.poetry-anthology.com, 3ix.org server:0.000146, 0.000136, 0.000175, 0.000136, 0.000267;
browser:0.383, 0.372, 0.448, 0.458, 0.454

http://www.configure-all.com, fatcow.com (this site) server:0.000100, 0.000103, 0.000108, 0.000114, 0.000145s;
browser0.378, 0.63, 0.462, 0.442, 0.45s

http://www.hardstuffez.com, fatcow.com server 0.000157, 0.000148, 0.000355, 0.000151, 0.000103s;
browser:3.522, 1.564, 0.448, 0.468, 0.448

http://www.best-your-trip.com, justhost.com server:0.000102, 0.000545, 0.000179, 0.000104, 0.000500,0.000108s;
browser:1.769, 1.73, 0.476, 0.441, 0.456,0.632

FatCow $56 Plan

Now let us add to the page 3 google ads and test web page loading speed.

http://www.poetry-anthology.com, 3ix.org server 0.000147, 0.000132,0.000117, 0.000187, 0.000159s; browser:1.432, 1.528,1.5, 1.553, 1.506s

http://www.configure-all.com, fatcow.com server (this site)0.000142, 0.000131, 0.000126, 0.000125, 0.000135s; browser:1.64, 1.22, 1.355, 2.058, 1.919s

http://www.hardstuffez.com, fatcow.com server 0.000239, 0.000186, 0.000180, 0.000164, 0.000176s; browser:1.454,1.522, 1.516, 1.473s

http://www.best-your-trip.com,justhost.com server: 0.000119,0.000111, 0.000115, 0.000119, 0.000114s ; browser:1.711,1.471, 1.516, 1.451, 1.342, 1.462s

Reseller Web Hosting

Now let us add to the page captcha script the same as on this page.
I got 0.001344 seconds to load

http://www.configure-all.com, fatcow.com server (this site) 0.009221, 0.001815, 0.002365, 0.007915 , 0.001598s; browser:0.707, 1.721, 0.874, 0.869, 1.416

It appeared that Captcha script made web page loading significantly slower.

WHO IS web site gives you some information on host speed. This is an example:
Blue Host

Network Solutions

$5.99/month Hosting
$4.99/month Websites
$6.99 Domains
25% off $75+ New Orders
$50 off any $250+New Purchase
50% SSL Domain Validation

Now let us pull from MySQL the same number of records.

fatcow.com server

fatcow.com server

justhost.com server

If you sign for hosting through one of 4 links on my site I placed below I will send you PHP authentication templates for free. See details user Authentication Demo

Hosting companies I use and recomend!

1. Fatcow.com I use it for www.configure-all.com, www.hardstuffez.com and www.healthstairs.com
40% off at FatCow!

2. www.bluehost.com
Host Unlimited Domains - 1 Account $6.95 Per Month

3. www.hostmonster.com
HostMonster - Perl, CGI, SSH, Free Domain

Affiliate Disclosure: I may get comission, when you purchase products or services through links on my website.

Did you find information useful?
Send to your friend a link to this page

Please rate the tutorial

1 2 3 4 5 6 7 8 9 10



Learn Visual Basic 6.0 [Kindle Edition] $1.49

How to Build Your Own Web Site from Scratch [Kindle Edition] $1.99

Earn Money on Internet as an Affiliate [Kindle Edition] $0.99

Comments
 
Register to add comments ( 1000 char ) for loading_speed.php.