문제

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

I Have a button and then, 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).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top