You could setup xdebug or Zend and profile your site....but
benchmarking is such a subjective thing.
It relies a lot on your server setup, etc.

What you could do is say build your own blog - and load it up with the
same articles as say an installation of Wordpress or something. Then
profile both.
See the difference.

BUT that's only going to get you so far. Your specific machine's
PHP.ini, and other settings AND cpu speed/ram is different from the
host you'll be on (most likely)...AND you're testing locally - not
through the internet.

Now. A more accurate test would be to run the same test on the host
you'll be at...but can you get xdebug or something like that setup on
your host?

Also, you've just gone through a bunch of time to find out if you can
build an application faster than Wordpress or Drupal or Joomla! or
whatever.

My bet, you did build one faster...because all those systems load
extra things you probably don't have when you build a custom solution.

These CMS' out there try to cover all the bases best they can. That
means a lot of overhead. A custom solution is -usually- going to be
faster.

Plus it's super hard to test for this anyway given all the variables.
Just know that CakePHP has some really great scalability and
performance options with many different ways to cache data, VERY good
control over your queries, and along with the design pattern and such
it's really efficient for OO PHP...you just have to be sure you're
writing efficient code... ie. be aware of your findAll's and what
you're bringing back...do you need it all? Be aware of your custom
functions and special operations that you're using, etc.

In my opinion - Cake's the best thing since sliced bread for web apps.


On Feb 8, 9:20 am, MattC <[EMAIL PROTECTED]> wrote:
> Regarding Zoe's comment about Cake checking the db columns every time
> you retrieve data, that only happens when debug is on.  Otherwise the
> table schema is cached.
>
> In general you should look into Cake's built in caching which can
> negate a lot of the framework overhead.  Here is quick test I did to
> benchmark the improvement with cache turned 
> on:http://www.pseudocoder.com/archives/2007/02/27/cakephp-cache-performa...
>
> That was almost a year ago and used Cake 1.1 with file based caching.
>
> -Mattwww.pseudocoder.com
>
> On Feb 8, 6:26 am, Ma'moon <[EMAIL PROTECTED]> wrote:
>
> > Hello guys,
> > i am truly sure that cake is my choice when it comes to choose a framework
> > from the bunch of frameworks available out there but i really need to see
> > some benchmarks in order to convince my managers that cake is really for it
> > and it would be our best choice, is there any benchmarks reports available,
> > i would be thankful for any links being posted here or pointed anywhere
> > else.
>
> > Regards, Ma'moon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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