| Active Users: |
34 |
| Accounts: |
0 |
| Guests: |
34 |
|
|
|
|
|
|
|
Speeding up the Zend Framework
Like many frameworks, the Zend framework is fairly heavy by itself. Today, I decided to do some profiling on code running to see how all that load was distributed and see if there was any way I could pinpoint the problem to one particular location. I found a major one. Just to get things booted up and route the query to the appropriate method, over 40 files get included via require_once(). IO is definitely a problem here. I didnÂ’t keep the original cachegrind trace (from xdebug), but over half of the processing time was lost in those calls. Even if using APC or some sort of op-code caching, calls still have to be made and the code has to be retrieved.
| Zend Framework Version: |
0.7.0
|
| Author Name: |
Louis-Philippe Huberdeau
|
| Source: |
Louis-Philippe Huberdeau Blog
|
| Referred By: |
Zend Framework Tutorials
|
|
|
|
|
|
|
|
|
|
|
|