Question

I am developing a project on windows with wamp installed using zend framework. Unfortunately it has very slow performance, although I did the things mentioned in the manual:

  • remove require once
  • added apc

I recently installed Scienta ZF Debug Bar v1.3, and here is an example of results i get:

Queries: 48 in 53.01 ms
Memory: 9188 KB
Controller time: 8335.74 ms

I cant figure out why it works so slow. Any help is greatly apreciated.

EDIT:

Got xdebug profiler to work eventually, and it is very strange since I see the page load and it is a lot ... 6-7 seconds like the bar is telling me ... but in wincachegrid i see a total run time of 641ms ... i am :|

Was it helpful?

Solution

A few more suggestions:

  • Check your error logs, as most of the runtime is in your controller, it might be dumping tons of errors.
  • Consider using the xcache or eaccelerator opcode caches instead of APC (obsolete I believe).
  • Put some timing code in the controller to see if you can identify the the slowest sections of code.

OTHER TIPS

Have you tried profiling the application? Zend Studio and Xdebug both give the ability to profile your application and see what exactly is taking so long.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top