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

2008-11-07 Thread Remigijus
Well, many thanks to Martin for useful information. Yes, you right saying that I am running CakePHP on the xampp. But in Linux server, website works many times faster than on *amps. Well I think you also right saying that memory usage is not problem here. So thanks for really good answer ;] On

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

2008-11-07 Thread [EMAIL PROTECTED]
Remigijus: Memory usage is not something you should be overly concerned with on a development machine. (which I guess is what you are testing) If you are using WAMP or XAMPP or something like them then you are basically faking a *nix environment for php to run in. This is probably not the most mem

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

2008-11-07 Thread Remigijus
Well, I found my problem. It's windows. I have put source code on Linux, and results are Memory used with debug set to 1: 4.8 MB Load time: 0.4s, 3-4 sec, 1 sec. To Martin and Teknoid: Can you tell me the memory usage of you sites? I am watching it on layout page inserted line: memory_get_usag

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

2008-11-06 Thread teknoid
Just did a simple look up on a random page of my app (1.2 RC3, recent nightly build) There are three models paginated on the page limit=15 rows. Total of 18 queries required to get all data, 2 for pagination of the main Model (with some conditions), 16 for related models... yes they are little sel

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

2008-11-06 Thread [EMAIL PROTECTED]
Ziobe: It sounds like you are having some odd problem with that computer. I am sorry to say I have no idea of what could be the cause. If 1.2 works fine on another computer, then the oldest support answer in the world might be the only way: reinstall. On Nov 6, 12:12 pm, Ziobe <[EMAIL PROTECTED]

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

2008-11-06 Thread Remigijus
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 ver

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

2008-11-06 Thread Dave J
Are you using any op-code caches (APC, eAccelerator or XCache) ? On Nov 6, 11:53 am, Remigijus <[EMAIL PROTECTED]> 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 u

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

2008-11-06 Thread Remigijus
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 he

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

2008-11-06 Thread Ziobe
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

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

2008-11-06 Thread Dardo Sordi Bogado
I don't get it, even in debug mode I always get response times in ms, even in modest laptops/desktop machines... always in linux ;) - Dardo Sordi. On Thu, Nov 6, 2008 at 8:30 AM, AD7six <[EMAIL PROTECTED]> wrote: > > > > On Nov 6, 11:24 am, Remigijus <[EMAIL PROTECTED]> wrote: >> Latest CakePHP

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

2008-11-06 Thread AD7six
On Nov 6, 11:24 am, Remigijus <[EMAIL PROTECTED]> wrote: > Latest CakePHP framework 10x times faster? > > I have upgraded to latest version, and my empty page before: > used 5.5 MB of memory > loaded in 1.2s > > After upgraded: > used 5.6 of memory > loaded in 2.3s > > Where is that 'faster'? >

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

2008-11-06 Thread Remigijus
Latest CakePHP framework 10x times faster? I have upgraded to latest version, and my empty page before: used 5.5 MB of memory loaded in 1.2s After upgraded: used 5.6 of memory loaded in 2.3s Where is that 'faster'? I have tested in 3 apache servers. Tested with both 1.2 stable and 1.2 latest

[Problem] Cake 1.2 is slow (4s...)

2008-11-06 Thread Ziobe
Hello, i want to use Cake 1.2 but for render a page it takes more than 4sec I try Cake 1.1, CodeIgniter, Drupal and all of that things are fully working on my computer. But cake 1.2 don't want. I Also tried on another computer and it's works. I don't know what to do can you help me ? I'm on windo