Re: Good resources for beginning PEAR
| From: | Christopher Heschong | Date: | Thu, 23 May 2002 18:10:06 +0000 |
| Subject: | Re: Good resources for beginning PEAR | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1434@lists.php.net to get a copy of this message | ||
Actually, according to these benchmarks:
http://www.chamas.com/bench/index.html
The only thing faster than PHP is either straight HTML or a straight C
module (at least for a "Hello World" type application. See the Hits/s/Mhz
marks. Even jsps are faster than mod_perl. Add caching into the equation,
and you're quite fast.
One thing I've found with Pear's Cache module though: because of the
overhead often involved with instantiating classes, many of my apps are
actually slower when using the Cache module. Only use it for things that
are fairly processor intensive, or for things like fetching remote files
like RSS , etc, and benchmark to see where it makes sense to use Cache as
opposed to dynamic processing.
On 5/23/02 3:46 PM, "Martin Tsachev" <shaggy@members.evolt.org> wrote:
> On Thu, 23 May 2002 16:21:04 +0200, Tomas V.V.Cox wrote:
>> Being serious about the speed, PHP itself is slow too. Use PEAR, put a
>> cache layer on top and speed up your coding and your site :-)
>>
>> Tomas V.V.Cox
>
> Tomas I don't really think that PHP is slow compared to other web server
> scripting languages, maybe only mod_perl is faster than PHP. Anyway it is fast
> enough even for big sites.
--
/chris/