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).
精彩评论