-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
low performance #86
Comments
Well, if you go as far as to profile newly-installed application templates, you can also look at the xdebug dump output with cachegrind and find the bottleneck yourself. :-| We did not do this, and your finding is interesting, by the way. First idea that comes into my mind is that application templates which come with Yii 1.1 and Yii 2 assume your app is in production mode, and you need to enable debug mode manually. And in debug mode everything works slower. Try to re-run your profiling after putting an empty file named |
Whoa, such a slow updates. Actually, database can be the botteneck if establishing connection to it is costly or it runs on a slow disk. Probably enabling DB caching will help, but I am not sure in this case, because most of the time were spent in |
Can you please provide the same profile charts for the fresh Yii 1.1 installation? I certainly could not anticipate that combining arrays in PHP can be so costly as to decrease performance threefold. |
my test is simple ab -n 10 -c 2 http://yii-boilerplate ab -n 10 -c 2 http://yii-fresh |
My yii1 and yii2 fresh installs handle 150-220 request per second, but fresh install of boilerplate handles only 20-25. What is the reason?
The text was updated successfully, but these errors were encountered: