??????????PHP?????????????????????????????????????????????????????顣
??????ThinkPHP??????????????????????????????????????????????????????????????????????????顣???????????????????????д???????????????·???
??????Laravel????????д???????????????????????????е??????????????????????μ??????????ɡ??????????????????Laravel????????????????????????????
??????Yii????????е??£????????????е?С?鷳??????????????????????????????????????????????????????????????????????
???????????????????????????????????????????
???????????
??????????? 2016??05??06??
???????????? siege (???MAC????ab???????? pr_socket_recv: Connection reset by peer (54) ??????????????siege)
????????????? MacPro Core i5 ??????/8GB???/256GB SSD????
????????????? Apache PHP5.6
???????汾?? ThinkPHP 3.2.3 Laravel 5.2 Yii2.0.5
??????????? ??β??????5?Σ???е?????
??????????????????????????????????
??????????
Transactions:        2119 hits ??????????????
Availability:        96.85 % ??????
Elapsed time:        9.74 secs ???????
Data transferred:      1.31 MB ?????????
Response time:        0.60 secs ??????
Transaction rate:     217.56 trans/sec ?????Ч??
Throughput:        0.13 MB/sec ?????????
Concurrency:       130.28 ????
Successful transactions:    2162 ?????????
Failed transactions:       69 ????????
Longest transaction:      2.85 ???????????
Shortest transaction:      0.01 ??????????
???????????
??????????????????????????????????10000??HelloWorld
????????50???10?Σ?
??????????????????????ThinkPHP???????????
Transactions:         500 hits
Availability:       100.00 %
Elapsed time:        2.81 secs
Data transferred:      52.45 MB
Response time:        0.26 secs
Transaction rate:     177.94 trans/sec
Throughput:        18.67 MB/sec
Concurrency:        47.10
Successful transactions:     500
Failed transactions:        0
Longest transaction:      0.48
Shortest transaction:      0.03
?????????Laravle??????????Щ???
Transactions:         500 hits
Availability:       100.00 %
Elapsed time:        13.33 secs
Data transferred:      52.45 MB
Response time:        1.27 secs
Transaction rate:      37.51 trans/sec
Throughput:        3.93 MB/sec
Concurrency:        47.55
Successful transactions:     500
Failed transactions:        0
Longest transaction:      3.64
Shortest transaction:      0.07
????????????????Yii
Transactions:         500 hits
Availability:       100.00 %
Elapsed time:        4.84 secs
Data transferred:      52.45 MB
Response time:        0.46 secs
Transaction rate:     103.31 trans/sec
Throughput:        10.84 MB/sec
Concurrency:        47.65
Successful transactions:     500
Failed transactions:        0
Longest transaction:      0.88
Shortest transaction:      0.04
????????200???10?Σ?
??????????ThinkPHP
Transactions:        1977 hits
Availability:        98.85 %
Elapsed time:        10.03 secs
Data transferred:     207.40 MB
Response time:        0.95 secs
Transaction rate:     197.11 trans/sec
Throughput:        20.68 MB/sec
Concurrency:       187.68
Successful transactions:    1977
Failed transactions:       23
Longest transaction:      1.22
Shortest transaction:      0.02