Just a quick follow up...
You should enable xdebug and turn on the profiling feature.
Overall, it's pretty simple, but you should give this a read:
http://devzone.zend.com/article/2899-Profiling-PHP-Applications-With-xdebug

One you analyze the output with WinCacheGrind (or similar for other
OS), you'll have a clear idea of the culprit
And don't rule out the fact that you might have to yell at media
temple support due to the poor performance.

All that being said, I highly doubt that if cake performed so crappy
on every single install anyone would be using it... (perhaps the issue
is elsewhere)

On Oct 23, 11:03 am, Mark <[EMAIL PROTECTED]> wrote:
> Thanks, Matthew,
>
> I'm using the default cakePHP page to try to convey that it's not my
> code that's at fault here. A real world situation can be found here:
>
> http://dev.fortunecookieprojects.net
>
> The home page that you'll bring up doesn't have any database access,
> just a plain old home.ctp page. It makes the same behaviour, 20
> seconds to initially load, not stellar performance thereafter.
>
> This might also be interesting: I hacked up the framework, putting in
> a bunch of echo timestamps and aborting the process before
> dispatch.php is called. So this page lists out everything that happens
> before any particular page in app is run. You can see it here:
>
> http://www.watchingplanes.com/planes/caketest/
>
> It's not very pretty, I'll try to clean it up a bit so it's clearer
> what's going on. But all of the outputs are coming from config.php and
> folder.php that CakePHP uses to get things going. The process aborts
> before anything happens beside the framework loading.
>
> It's kind of a pain because you'll only get the reeeally long load
> time after 15 minutes or so of the server being idle. You'll just have
> to take my word for it!
>
> Thanks everybody,
> Mark
>
> On Oct 23, 10:46 am, Mathew <[EMAIL PROTECTED]> wrote:
>
> > On Oct 23, 10:30 am, Mark <[EMAIL PROTECTED]> wrote:
>
> > > But, I think we can agree that the welcome page taking 20 seconds to
> > > first render is not normal.
>
> > Why is it not normal?
>
> > The landing page is not there for performance testing, but to validate
> > your configuration of Cake. The fact that it takes long should imply
> > that it's doing more checks then the older 1.1, and that's a good
> > thing!
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to