26
Oct
07

Apache und PHP unter Windows und Linux

Ein kurzer Test zweier Server mit Hilfe der benchmark.php

Warnung: Dies ist kein repräsentativer Test.

Windows Linux
OS Windows 2003 Server Ubuntu Linux 7.04 Server
CPU P III 800 PIII 650
RAM 512 MB 384 MB
PHP 5.2.3, 60 Sekunden Memory Limit, 16 MB, als Apache Modul 5.2.1, 60 Sekunden Memory Limit, 16 MB, als Apache Modul
Quelle XAMPP Ubuntu
Benchmark simple 2.630
simplecall 54.377
Fatal error: Maximum execution time of 60 seconds exceeded
simple 1.579
simplecall 2.496
simpleucall 3.705
simpleudcall 4.411
mandel 5.148
mandel2 7.282
ackermann(7) 4.600
ary(50000) 0.305
ary2(50000) 0.231
ary3(2000) 3.588
fibo(30) 11.084
hash1(50000) 0.557
hash2(500) 0.604
heapsort(20000) 1.584
matrix(20) 1.246
nestedloop(12) 2.717
sieve(30) 1.469
strcat(200000) 0.423
————————
Total 53.029