Re: DB performance

From: Date: Sat, 06 Oct 2001 17:37:35 +0000
Subject: Re: DB performance
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2163@lists.php.net to get a copy of this message
Christian Stocker wrote: > > On Sat, 6 Oct 2001, Martin Jansen wrote: > > > On Sat, 6 Oct 2001 12:04:33 +0200, Edin Kadribasic wrote: > > > > >Are there any numbers on how big is the performance loss when using PEAR::DB > > >as opposed to using db backend functions directly? > > > > Some time ago during the discussion about merging PHPLIB into PEAR someone > > (Christian Stocker?) made a performance comparison between the DB class of > > PHPLIB and PEAR::DB. I don't remember if he also measured the time the > > backend functions directly need, but perhaps you can find some pieces of > > information in the mailinglist archive. > > yes, that was me. but i wouldn't call those benchmark tests > scientifically correct :) and i didn't test it with the "native" backend > functions. just a pear to phplib comparison. See > > http://marc.theaimsgroup.com/?l=php-pear&m=98396772605723&w=2 > for the thread > You could imcrease the performance just moving the code of DB.php, common.php and <native>.php (and perhaps PEAR.php) into one file. Also there are a lot of constants definitions that aren't really needed. Ummm.. I'll do some benchmarks. Tomas V.V.Cox

« previous php.pear.dev (#2163) next »