Zend Framework 1.11 really slow.. Why?
-
14-10-2019 - |
문제
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).