Thanks, Paul, I agree, it's usually my code that's the problem! Even here, I'm sure that there's just some configuration that needs to be updated on the server.
But, I think we can agree that the welcome page taking 20 seconds to first render is not normal. I spent yesterday putting break points in the 1.2 framework, halting the execution before dispatch.php was invoked. Just getting the framework off the ground takes all the time I mention below, 5 - 20 seconds on a first call, and tenths of a second thereafter. Thanks for your help! m On Oct 23, 8:37 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi Mark, > You are hardly using the more ideas page to test speed with. > That page does a bunch of checks on your installation. I don't know > all they check but I would be surprised if they were identical. > > Comparing the two versions would require you to create some kind of > application with identical (or close) functionality. There are already > such mini-applications and comparisons (often Cake vs other > frameworks) but they are all controversial. > > One of them is this guy called Paul, his latest, and last, test was > run using rc2 and rc3 is a great deal faster:http://paul-m-jones.com/?p=315 > > He also writes a bunch of useful stuff if you want to learn about the > details of a good test. I would not worry though. In my experience, > the biggest improvements in performance you are likely to get is from > optimizing your own code. That's where I find the real bottlenecks :) > > /Martin > > On Oct 23, 12:54 pm, Mark <[EMAIL PROTECTED]> wrote: > > > > > Hello everyone, > > > Hopefully this is something simple. I have a fresh copy of the 1.1 and > > 1.2 frameworks running side by side on a Media Temple grid server. I > > haven't built any pages yet, it's just the basic cakePHP greeting > > page. If I let the server stand idle for 15 minutes, when I hit the > > 1.1 page it takes between 1 and 2 seconds to build the page. Then, > > when I hit the page again, it takes just a few hundreths of a > > millisecond. Awesome. > > > Then, when I go to the 1.2 version, my initial request takes anywhere > > from 5 to 20 seconds to build the page! Page renders after that are > > faster, but just in the tenths of seconds, so approximately 10 times > > slower than the 1.1 version. > > > I've tried the 1.2 framework on two different Media Temple grid server > > profiles, getting the same results. > > > Please try it, you can hit the 1.1 framework > > at:http://www.watchingplanes.com/planes/freshtest1/ > > and the 1.2 framework at:http://www.watchingplanes.com/planes/freshtest2/ > > > I've also set up the 1.2 framework on a server that I maintain, and > > find that it's really fast, giving me performance as good or better > > then the 1.1 framework. So I must have some configuration issue on the > > grid server, does anybody have any ideas? > > > Please note that I copied up fresh copies of the frameworks, all of > > the tmp directories are there and writable. > > > Thanks! > > > Mark- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
