Thursday, November 6, 2008

Re: Cake 1.2 is slow (4s...)

Dave J:

I have very (very!) small page that using postgresql database with 20
rows at all. In the config file I have found this line:
Cache::config('default', array('engine' => 'File'));

How cache can affect website memory usage and speed?

By the way, is anyone using website made by CakePHP version 1.2? Have
you any problems with speed or memory usage?


On Nov 6, 2:38 pm, Dave J <daveve...@gmail.com> wrote:
> Are you using any op-code caches (APC, eAccelerator or XCache) ?
>
> On Nov 6, 11:53 am, Remigijus <rema...@gmail.com> wrote:
>
> > I have set debug mode to zero. But still framework uses
>
> > Memory used: 5.42 MB
>
> > And loads about 1 sec. I have done some benchmarks, and without models
> > loaded, site uses 2.6MB memory, with empty model (and set param
> > useTable to null, and recursion to -1) it uses 5.42. Where is the
> > problem, please help me ;(
>
> > On Nov 6, 1:12 pm, Ziobe <Zio...@gmail.com> wrote:
>
> > > Just to say that my cakephp project is blank.
> > > And even if i try to change the debug, the problem is still here
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: