Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11548 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61574 invoked by uid 1010); 25 Jul 2004 11:53:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59549 invoked from network); 25 Jul 2004 11:53:25 -0000 Received: from unknown (HELO stack.fission.org.uk) (195.82.120.217) by pb1.pair.com with SMTP; 25 Jul 2004 11:53:25 -0000 Received: from cpc4-oxfd3-3-0-cust191.oxfd.cable.ntl.com ([213.107.70.191] helo=[192.168.10.254]) by stack.fission.org.uk with esmtp (Exim 3.36 #1 (Debian)) id 1BohZB-0004er-00 for ; Sun, 25 Jul 2004 12:53:21 +0100 To: internals@lists.php.net Content-Type: text/plain Message-ID: <1090756405.998.18.camel@mesa> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 25 Jul 2004 12:53:25 +0100 Content-Transfer-Encoding: 7bit Subject: realpath benchmarks From: gareth@fission.org.uk (Gareth Ardron) 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.