开发者

Zend Framework 1.11 really slow.. Why?

开发者 https://www.devze.com 2023-02-02 05:48 出处:网络
I Use Zend Framework 1.11 and this is really slow for me. I Have a button and the开发者_开发问答n, when I click on it, that perform an ajax request.

I Use Zend Framework 1.11 and this is really slow for me.

I Have a button and the开发者_开发问答n, when I click on it, that perform an ajax request.

The response is Small. I Return a

Hello World

The response time is 125ms.

To much for this small ajax request.

Anybody have an idea.

Thanks.


well , it shouldn't take that much , could you please post the code and your os information ,

but i suggest to run xdebug profiler

http://devzone.zend.com/article/2899

http://www.slideshare.net/samkeen/profiling-php-with-xdebug-webgrind


Are you using anything from:

  • Locale
  • Currency
  • Db

Also try using optcode cache (like zend accelerator). ZF can be slow on PCs with low IO performance while it loads many small files.

We have 125ms response on server for our ecommerce with hardcore optimalization (but without cache).

0

精彩评论

暂无评论...
验证码 换一张
取 消