realpath benchmarks

From: Date: Sun, 25 Jul 2004 11:53:25 +0000
Subject: realpath benchmarks
Groups: php.internals 
Request: Send a blank email to internals+get-11548@lists.php.net to get a copy of this message
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 root@mesa:/# time php /home/gaz/test.php real 4m50.380s user 1m23.635s sys 1m22.761s * after realpath modifications root@mesa:/# 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.

« previous php.internals (#11548) next »