Hello,
I’ve been developing some projects in Yii for a while now and I really like this framework. Today I did some tests with ApacheBench on my cheap VPS and I found out UrlManager changes a lot in terms of performance. My results with AB (rps = requests per second):
urlFormat as ‘get’ (index.php?r=url): 90 rps with APC and 20 rps without APC.
urlFormat as ‘path’ (‘pretty urls’): 20 rps with APC and 5 rps without APC.
I used the default 3 simple urlManager rules.
Has anyone tested this too? And does anyone has suggestions to improve this?
Thanks in advance.
Regards,
Nico