Re: Benchmarks

From: Date: Thu, 05 Jun 2003 15:19:11 +0000
Subject: Re: Benchmarks
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17083@lists.php.net to get a copy of this message
* Hans Lellelid wrote:
ADOdb is very efficient primarily because abstraction is kept to a minimum -- i.e. the adodb methods called immediately call the native PHP function (e.g. $rs->MoveNext() calls mysql_fetch_array() immediately);
That's something PHPLIB::DB also does. Sure, I was just suggesting that the benchmarks may not always be the most reliable. E.g. there are lots of ways of fetching results and some may be less abstracted than others. Anyway, I certainly believe there is room for speed improvement in PEAR::(M)DB, but I'm also using MDB in a pretty big, very db-intensive environment and have been happy with performance. Swapping in ADOdb at one point really didn't make a noticeable difference (it should be noted, however, that I was using ADOdb's pear compatibility library which would be slower than "native" ADOdb).
Hans

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