After removing the require_once library, as described in the official performance guide, you must set the cache code of the operation, such as Zend Server CE, APC or eAccelerator, even on your development computer.
In addition, for some resource plugins that you can configure in your application.ini , you may need to cache data to work well, such as Zend_Db, Zend_Loader, etc. (I will not explain the difference with caching the opcode here)
Do not forget that in production you will (and I really hope) use caching of the operation code and memory, so you need to navigate in close conditions.
In development, you will certainly identify a cache that is invalid very quickly, so always refresh your page at least twice in a row before looking at ms.
And then you can start to worry about your βrealβ bottlenecks.
Well, that was about ZF boot performance. But your question was about profiling code. I use proprietary tools for it, but Xdebug in combination with Kcachegrind is also nice: http://xdebug.org/docs/profiler
Frederik eycheniΓ©
source share