Re: PEAR::DB is great but is sooooo SLOW !
| From: | greg | Date: | Sun, 16 May 2004 08:28:21 +0000 |
| Subject: | Re: PEAR::DB is great but is sooooo SLOW ! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186345@lists.php.net to get a copy of this message | ||
Grrr, i'm posting too fast !
Sorry for mistakes :)
Hello,
I've just performed a few tests when using PEAR::DB and
the results weren't good at all.
If I compare a script using PEAR::DB with a script using
standard functions (and which supports mysql, pgsql and
sqlite databases), the script using PEAR::DB is 10 times
slower than the other.
In one of my projects, it slows down execution time to
0.07 sec per page ! (original exec time was 0.006 sec)
Conclusion : if you want to use PEAR::DB package, you'll
probably will have to use cache systems for scripts that
may be request often.
Am I the only one annoyed by this loss of performance ?
Because this is a huge loss in that case !
Greg