Server Benchmark with PHP 5 : ThePlanet, Hosteurope, Hetzner

This is a small benchmark test / performance comparison with PHP 5 between ThePlanet, Hosteurope and Hetzner Servers. Servers are not same, and there are RAM difference but in this test RAM plays no big role, but CPU plays. The server from Hosteurope is a virtual server with min. 2GB ram guarantie. The other two are dedicated root servers. ThePlanet's OS is Redhat enterprise, The other two are using Debian.

Hetzner : Intel® Core™ i7-920 Quad-Core with 8GB Ram
Hosteurope: 8 Cores Intel® Xeon® with min 2GB or more
ThePlanet: 2x DualCore Intel(R) Xeon(TM) CPU 3.40GHz with 2GB

Benchmark PHP Code:

<?php
define("STARTMICROTIME", array_sum( explode(' ', microtime() ) ) );
while($i++ < 999999) $temp_md5 = md5( rand(0,$i) );
$page_gen_time =  round(array_sum( explode(" ", microtime())) - STARTMICROTIME, 2);
echo " \n PG Time: $page_gen_time --- \n\n"
?>

Results(average from 10 queries):

Hetzner AG: 1.04 seconds
Hosteurope: 1.77 seconds
Theplanet : 3.80 seconds

------------------------ 10 CPU Times from Hetzner Server:

HETZNER# php -f bench.php
PG Time: 0.89

HETZNER# php -f bench.php
PG Time: 0.9

HETZNER# php -f bench.php
PG Time: 1.52

HETZNER# php -f bench.php
PG Time: 0.9

HETZNER# php -f bench.php
PG Time: 0.9

HETZNER# php -f bench.php
PG Time: 0.91

HETZNER# php -f bench.php
PG Time: 0.87

HETZNER# php -f bench.php
PG Time: 0.88

HETZNER# php -f bench.php
PG Time: 1.44

HETZNER# php -f bench.php
PG Time: 1.25

------------------------ 10 CPU Times from Hosteurope Server:

HOSTEUROPE: php -f bench.php
PG Time: 1.79

HOSTEUROPE: php -f bench.php
PG Time: 1.71

HOSTEUROPE: php -f bench.php
PG Time: 1.74

HOSTEUROPE: php -f bench.php
PG Time: 1.74

HOSTEUROPE: php -f bench.php
PG Time: 1.72

HOSTEUROPE: php -f bench.php
PG Time: 1.91

HOSTEUROPE: php -f bench.php
PG Time: 1.72

HOSTEUROPE: php -f bench.php
PG Time: 1.74

HOSTEUROPE: php -f bench.php
PG Time: 1.81

HOSTEUROPE: php -f bench.php
PG Time: 1.78

------------------------ 10 CPU Times from ThePlanet Server:

ThePLANET# php -f bench.php
PG Time: 3.76

ThePLANET# php -f bench.php
PG Time: 3.9

ThePLANET# php -f bench.php
PG Time: 3.97

ThePLANET# php -f bench.php
PG Time: 4.06

ThePLANET# php -f bench.php
PG Time: 3.71

ThePLANET# php -f bench.php
PG Time: 3.67

ThePLANET# php -f bench.php
PG Time: 3.74

ThePLANET# php -f bench.php
PG Time: 3.76

ThePLANET# php -f bench.php
PG Time: 3.74

ThePLANET# php -f bench.php
PG Time: 3.75

ThePlanet (formerly Ev1Servers / RackShack) located in United States of America - USA
www.theplanet.com

Hetzner located in South Germany near Munich/München
www.hetzner.de

Hosteurope located in west Germany Cologne/Köln - NRW
www.hosteurope.de

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Use <pre> all your html php come here </pre> for your code
  • Allowed HTML tags: <a> <b> <pre> <h1> <h2> <h3> <h4> <h5> <h6> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <div> <style><img> <br> <blockquote>
  • Lines and paragraphs break automatically.
  • You may insert videos with [video:URL]

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

CafeWebmaster.com(CW) is a free online community for webdevelopers and beginners. Anybody can share their code, articles, tips, tutorials, code-examples or other webdesign related material on the site. Newbies can submit their questions and reply to existing questions. CW does not guarantee or warrant reliability of code, data and information published on the site. Use the site on your own risk. The site takes no responsibility of direct or indirect loss or any kind of harm to its users. The site also doesn't take responsibility of infected files or source code with any kind of infection or viruses, worms, spywares, malwares, trojan horses. CW reserves the right to edit, move, or delete any of content for any reason.