-- mothmenace <[EMAIL PROTECTED]> wrote
(on Tuesday, 25 November 2008, 05:30 AM -0800):
> Wow thanks Matt.
>
> I am using partial() a lot - I will investigate the appendix asap.
> I've got a page on the site which uses no DB calls, and it still uses 5mb
> memory without APC, so think that DB use is unlikely the bottleneck now.
>
> In XDebug, without APC, I am getting the following values for time / memory
> / function :
>
> 1 0.0005 58096 {main}( ) ../index.php:0
> 2 0.0011 100828 require( '/[...]/bootstrap.php' ) ../index.php:5
> 3 0.0683 3254816 Zend_Controller_Front->dispatch( )
> ../bootstrap.php:155
> 4 0.0803 3842316 Zend_Controller_Dispatcher_Standard->dispatch( )
> ../Front.php:934
>
> Is 3842316 a standard value at dispatch() for memory use?
Well, you have to understand that dispatch() encapsulates *everything*
that happens in the app -- all plugins, all helpers, all views, all
application logic... You should be able to drill further in to see what
specific routines *within* that call are using the most memory.
> I will report back as soon as I've had a chance to try out some of the
> optimizations, really happy to have something to work on :)
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/