PHP-Performance

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Thu Oct 13, 2005 7:24 pm    Post subject: PHP-Performance Reply with quote

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 View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Thu Oct 13, 2005 7:28 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
richardyork
-


Joined: 22 Jun 2004
Posts: 410
Location: United Kingdom

PostPosted: Thu Oct 13, 2005 9:48 pm    Post subject: Reply with quote

1st Test: 142778

2nd Test: 140345

3rd Test: 139953
----------------------
Average = 141025
_________________
Please SEARCH the forums BEFORE asking questions!
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Fri Oct 14, 2005 12:09 am    Post subject: Reply with quote

My average (3 tests):

81364
Back to top View user's profile Send private message Send e-mail
carmondrake
-


Joined: 07 Jun 2005
Posts: 10

PostPosted: Fri Oct 14, 2005 4:17 am    Post subject: Reply with quote

http://carmon.dyndns.org scored these marks woohoo lol
114135
120438
121681
_________________
http://carmon.dyndns.org
Back to top View user's profile Send private message
roganty
-


Joined: 08 Jun 2004
Posts: 357
Location: Bristol, UK

PostPosted: Fri Oct 14, 2005 10:12 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
lspence
-


Joined: 16 Jul 2004
Posts: 15

PostPosted: Fri Oct 14, 2005 2:46 pm    Post subject: Reply with quote

1st - 56475
2nd - 61541
3rd - 63018
avg - 60345

Running on Pentium III 700 MHz
_________________
Luke Spence - CJCA - Cracker Jack Collectors Association
Back to top View user's profile Send private message Visit poster's website
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Fri Oct 14, 2005 3:07 pm    Post subject: Reply with quote

OK, so what if mine is slow?

:D
Back to top View user's profile Send private message Send e-mail
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Fri Oct 14, 2005 3:56 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Fri Oct 14, 2005 4:03 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
merv_
-


Joined: 10 Oct 2005
Posts: 3

PostPosted: Wed Oct 19, 2005 8:41 pm    Post subject: Reply with quote

PIII 733
448 MB RAM
WinServer 2003 Standard

70852

I guess it's okay for that kind of Cpu.
Back to top View user's profile Send private message
SillyNoodlz
-


Joined: 18 Oct 2005
Posts: 40
Location: France

PostPosted: Wed Oct 19, 2005 11:03 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Wed Oct 19, 2005 11:59 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group