----- Original Message ----- 
From: "Sebastian Bergmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 15, 2003 8:13 AM
Subject: [PHP-DEV] PHP Benchmark


>   A while ago I posted [1] a script that performed some micro-benchmarks
>   on PHP.
> 
>   I have now refined this benchmark by splitting the monolithic script
>   into one script per micro-benchmark thus performing each benchmark with
>   a fresh PHP interpreter.
> 
>   The benchmark "suite" is available at
> 
>     http://www.sebastian-bergmann.de/PHP_Benchmark/
> 
>   Any comments, feedback, corrections and additions are welcome,
> Sebastian

Just for the records..

./run.sh
PHP 4.3.4 (64bit)
  Object Creation: 87530 objects created per second
  Member Access: 136673 member accesses per second
  Method Calls: 95166 method calls per second
  Array Creation: 134483 arrays created per second
  Array Index Access: 94235 array elements accessed by index per second
  Array Key Access: 258844 array elements accessed by key per second
  Basic FP: 468412 basic FP operations per second
  Complex FP: 255004 complex FP operations per second
  Nested Loops (FP): 138418 nested loops per second
  Nested Loops (Int): 137983 nested loops per second

CPU: Mips r12000
Mhz: 270
Compiler: mipspro cc

Note: 32bit binary is 1-5% faster.

regards
Joerg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to