OK, very very quick benchmark on the realpath stuff

System used is an AMD Opteron 142 (1.6ghz) with a gig of pc2100 ram, and
Western Digital Raptor sata disk. It's running Debian/unstable, though
only in 32bit mode atm.
Both tests were run using the standard php5 release rather than current
CVS.

test.php just runs a passthru() 1000 times on another script which
includes 5 files.

* before realpath modifications
[EMAIL PROTECTED]:/# time php /home/gaz/test.php
real    4m50.380s
user    1m23.635s
sys     1m22.761s

* after realpath modifications
[EMAIL PROTECTED]:/# time php /home/gaz/test.php
real    3m12.067s
user    1m22.602s
sys     1m24.608s

Now, imo, shaving over a minute and a half off that original time is
bloody impressive. Nice work, Andi.

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

Reply via email to