News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jani Hartikainen's Blog:
Optimizing Zend Framework and Doctrine applications
January 27, 2009 @ 09:30:37

In a quick post Jani Hartikainen take a look at some optimization tricks you can do to help get the most out of your Zend Framework/Doctrine application.

I decided to try profiling my quiz application to see if I could speed it up. Not surprisingly, biggest performance penalties came from loading classes and Doctrine's ORM magic. [...] As you may have heard, optimizing without profiling first is a bad idea, as you may think something is slow when something completely different would be better to optimize.

some of his suggestions include:

  • Removing all require_once calls from the Zend Framework library
  • Change the include_once_override setting if you're using APC
  • Using the query cache in Doctrine
  • Using the Doctrine_Table find functions rather than the Doctrine_Query objects
0 comments voice your opinion now!
zendframework optimize profile xdebug doctrine


blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso's Blog: Building an ORM with PHP

Felix Geisendorfer's Blog: Setting up Xdebug on Mac OS X (or Win32 / Linux)

Joakim Nygard's Blog: Optimizing PHP Through Habits

Matthew Weier O'Phinney's Blog: Autocompletion with Zend Framework and Dojo

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 3: Composite View Pattern


Community Events





Don't see your event here?
Let us know!


threedevsandamaybe list unittest interview configure language symfony introduction code laravel community application series library api release install wordpress developer podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework