« Return to Thread: Zend Loader performance

Zend Loader performance

by Ɓukasz Bandzarewicz :: Rate this Message:

Reply to Author | View in Thread

Hi all!

During simple profiling I noticed that Zend_Loader could consume 20-25% of execution time.
It's quite obvious, because ZF has to load lots of files, but..
have you ever wondering about compile ZF code? Something similar to phpDoctrine's compile method (http://www.phpdoctrine.org/documentation/manual/0_11?one-page#improving-performance)?

The compile method makes single file of most used components. Additionally it could remove comments and white spaces to reduce size of compiled file. It could reduce slow disk operations (check if file exists, load file, etc.) and increase performance.

What you think, is this feasible?

 « Return to Thread: Zend Loader performance

LightInTheBox - Buy quality products at wholesale price