News Feed
Sections




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

Till Klampaeckel's Blog:
Zend Framework Slow automatic view rendering
March 30, 2010 @ 14:50:16

In a new entry to his blog, Till Klampaeckel looks at view rendering for Zend Framework applications and how, as he assumed it would, making a change in the automatic rendering on the views could speed things up quite a bit.

My thesis is that there's a gain in page rendering time when I disable automatic view rendering and use explicit render calls ($this->render('foo');) inside my controllers. And to cut to the chase, there is. On our app, I measured a 12% improvement using Xdebug's profiler - simple before-after-style.

He talks a bit about his setup for testing his theory complete with a customized loader as well as the platform (OS and web server) he ran the tests on. He used Xdebug to run the testing. His conclusion is a pretty obvious one - what you gain in convenience you sacrifice in performance.

15 comments voice your opinion now!
zendframework view render automatic


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Zend_Filter_Input / Zend_Validate Messages

Daniel Vecchiato's Blog: Using Zend Framework components in Code Igniter

Gergely Hodicska's Blog: Extending Zend_Acl to support custom roles and resources

Padraic Brady's Blog: New Zend_Feed_Writer Component And Zend_Feed_Reader Enhancements (ZF 1.10)

Matthew Weier O'Phinney's Blog: Exposing Service APIs via Zend Framework


Community Events

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


api opinion configure community laravel install interview series composer example podcast php7 performance library conference release application framework introduction symfony2

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