View previous topic :: View next topic |
Author |
Message |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Thu Oct 13, 2005 7:24 pm Post subject: PHP-Performance |
|
|
Need to test how fast your server can handle PHP-pages? Well, all you have to do is running this script on your server and it will tell you how fast PHP is running on your server.
Code: |
<html>
<head>
</head>
<body>
<?php
echo "Running...<br>";
flush();
ob_flush();
$sekc = date("s");
//Easiest way to make sure this scipt wont run forever...
while ($sekc > 48) {
sleep(1);
$sekc = date("s");
}
$sek = date("s");
$sekc = $sekc+5;
$count = 0;
while ($sek != $sekc) {
$sek = date("s");
$count++;
$var2 = md5("MD5");
$abyss_rules = md5("aprelium");
$var2 = md5("MD5");
}
echo "Your score: $count";
?>
</body>
</html> |
My desktop-computer got a score of 307000 and my server got 24000.
Last edited by cmxflash on Thu Oct 13, 2005 7:41 pm; edited 1 time in total |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Oct 13, 2005 7:28 pm Post subject: |
|
|
My server:
Quote: | Your score: 135687 |
EDIT: Tested a second time and got:
Quote: | Your score: 161518 |
_________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
richardyork -
Joined: 22 Jun 2004 Posts: 410 Location: United Kingdom
|
Posted: Thu Oct 13, 2005 9:48 pm Post subject: |
|
|
1st Test: 142778
2nd Test: 140345
3rd Test: 139953
----------------------
Average = 141025 _________________ Please SEARCH the forums BEFORE asking questions! |
|
Back to top |
|
|
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Fri Oct 14, 2005 12:09 am Post subject: |
|
|
My average (3 tests):
81364 |
|
Back to top |
|
|
carmondrake -
Joined: 07 Jun 2005 Posts: 10
|
|
Back to top |
|
|
roganty -
Joined: 08 Jun 2004 Posts: 357 Location: Bristol, UK
|
Posted: Fri Oct 14, 2005 10:12 am Post subject: |
|
|
My scores
1 = 68637
2 = 73605
3 = 68789
Average = 70343
Edit:
cpu: AMD Athlon 850MHz
memory: 512MB
os: mandrake 10.1 _________________ Anthony R
Roganty | Links-Links.co.uk
Last edited by roganty on Fri Oct 14, 2005 10:56 pm; edited 1 time in total |
|
Back to top |
|
|
lspence -
Joined: 16 Jul 2004 Posts: 15
|
|
Back to top |
|
|
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Fri Oct 14, 2005 3:07 pm Post subject: |
|
|
OK, so what if mine is slow?
:D |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Oct 14, 2005 3:56 pm Post subject: |
|
|
It will be low if CPU was being used a lot during testing. (e.g you had lots of other programs open) _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Fri Oct 14, 2005 4:03 pm Post subject: |
|
|
The Inquisitor wrote: | It will be low if CPU was being used a lot during testing. (e.g you had lots of other programs open) |
At that time I had....
IE, Quicken, Trillian, and MS Word open :D
I recon that's the reason :p |
|
Back to top |
|
|
merv_ -
Joined: 10 Oct 2005 Posts: 3
|
Posted: Wed Oct 19, 2005 8:41 pm Post subject: |
|
|
PIII 733
448 MB RAM
WinServer 2003 Standard
70852
I guess it's okay for that kind of Cpu. |
|
Back to top |
|
|
SillyNoodlz -
Joined: 18 Oct 2005 Posts: 40 Location: France
|
Posted: Wed Oct 19, 2005 11:03 pm Post subject: |
|
|
My score: 226651
Is that good or bad ? CPU is an Athlon XP 3000+ ... _________________ ~ Dan
One day, I'll finish this ...
My website : www.sillynoodlz.com |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Oct 19, 2005 11:59 pm Post subject: |
|
|
I tried ISAPI with this one and first try came up to a score of 233427 , now when
I tried the CGI version of PHP , the score would always reach a score of 226206. |
|
Back to top |
|
|
|