RE: [PHP-PEAR] PHPLib and Pear merge
[email protected] (Christian Stocker) Wed, 7 Mar 2001 12:31:16 +0100 (CET)
| Newsgroups | php.pear |
|---|---|
| Organization | Nomad Online Agents |
| Message-ID | <[email protected]> |
Hi > However, since there is apparently some problems with pear's db speed, we do > need to take steps to fix this. I believe the first step would be to see the > original benchmark script that have been created previously to have > triggered this discussion. the benchmark i used was just testing the Caching class and this is usually just one sql-query call (if the site is cached). used ab from apache for that. to get a better insight, i wrote a little script using Pear::Benchmark/Timer. you can see the script at http://nomad.ch/php/benchmarkdb.phps and one output of the result at http://nomad.ch/php/result.html (no, the script doesn't work on that machine...) the times are in microseconds and they are not average values, just one sample output, but they show the correct magnitude. as you can see, the connect-function in pear-DB is really time-consuming. we should investigate in that. chregu