Re: [Phplib-users] phplib vs. pear
Brought to you by:
nhruby,
richardarcher
|
From: Peter B. <re...@f2...> - 2002-05-07 11:40:10
|
At 08:57 AM 5/7/02 +0200, Saulius wrote: >Yesterday I did some tests on various db abstration layers (libriaries): >native mysql, phplib, adodb, pear, metabase. What I can say about pear db, >it is a big looser - latency is very big, queries work enough slow. By >speed there are two groups: 1) mysql, phplib, adodb; 2) pear, metabase. I >think it's not effective to use pear db in projects. Did your tests include the time to include the library files? For instance, when John Lim tested them he only started timing *after* the classes had been included but before they were initialised. If you alter it to start timing before the classes are included then the output is not quite so unfavourable for PEAR. See http://www.dybnet.de/MDB/benchmarks.pdf for some more test results. But I agree, PEAR is slow... it's just got a decent architecture and good separation of the classes, and is let down by PHP itself... Peter. -- Maple Design - quality web design and programming http://www.mapledesign.co.uk |