Gabriel Solomon
Gabriel Solomon

Reputation: 30035

Zend Framework very bad performance on WAMP

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:

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 :|

Upvotes: 2

Views: 1475

Answers (2)

Dana the Sane
Dana the Sane

Reputation: 15198

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.

Upvotes: 2

Mike
Mike

Reputation: 1837

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.

Upvotes: 1

Related Questions