Re: News from the PHPLib and Pear Benchmark-Front

From: Date: Wed, 07 Mar 2001 18:36:30 +0000
Subject: Re: News from the PHPLib and Pear Benchmark-Front
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-1677@lists.php.net to get a copy of this message
[Christian Stocker <chregu@nomad.ch>] > Hi there > > i made some more benchmarking tests on the pear::db > > i analyzed the connect function in DB.php and it's clearly the > > @include_once "DB/${type}.php"; > > command, which uses 90% of the time in connect(). so it looks like, > there's a lot to compile in {$type}.php and common.php. and i don't know, > how to speed that up, apart from deleting code :) any ideas? > > see http://nomad.ch/php/result.html for the exact figures. > > BTW: > zend_cache helped a lot (from 9ms for the include down to 0.5ms) > bware_cache was not faster for the include... Hi, Could you send me the source for your benchmarks? I want to take a look at this to see whether there are hidden performance hits somewhere (PEAR postpones much of the compile time to connect() like your benchmark shows, but does it show PHPLIB's compile hit?) Anyway, I'll take a look at what I can do to improve PEAR DB's performance. - Stig -- Stig Sæther Bakken <ssb@fast.no> Fast Search & Transfer ASA, Trondheim, Norway

« previous php.pear (#1677) next »