Should lead the request, on the Nginx server, deployed Yii, YAF, CI, TP4 framework, respectively, did a Hello word static page, using JMeter to simulate 100,200,300 users to carry out concurrent testing, and using XHPROF to test its call core number and core memory total, the specific data are as follows:
Yaf's performance is really good, but the framework is not suitable for enterprise-class applications also need to evaluate, and because the framework belongs to the individual development, the future update maintenance is not particularly secure, and thinkphp although a single call method and Yii similar, but its CPU and memory footprint, much lower than Yii, The response time is faster than 1s, the performance of more than Yii, and CI, the number of call methods is less than the first 2, but in response time and system occupancy, better than thinkphp.
The above describes the Nginx under a number of PHP framework comparison, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.