????7. ???????????Hello World
???????????????????????????????4?????????????????????岻??4k????100k???????????塣
?????????????????????????????????????????????????????10??000?????????????????????????????????????????????????Щ??????????????
???????????????????????????????
????8. ???????????????
????????????????????????????????1000??????????????5ms??????????????????????????1000?????????Щ???100ms???????????????????????10%??????????????????????????500?????/????????????????
??????????????????????????????????????????????????????????????(histogram)?У????????????????????????????????????????????????????????(??????????????????????patch)??
????httperf???????:
????Total: connections 180000 requests 180000 replies 180000 test-duration 179.901 s
????Connection rate: 1000.0 conn/s (99.9 ms/conn?? <=2 concurrent connections)
????Connection time [ms]: min 0.4 avg 0.5 max 12.9 median 0.5 stddev 0.4
????Connection time [ms]: connect 0.1
????Connection length [replies/conn]: 1.000
????Request rate: 1000.0 req/s (.9 ms/req)
????Request size [B]: 79.0
????Reply rate [replies/s]: min 999.1 avg 1000.0 max 1000.2 stddev 0.1 (35 samples)
????Reply time [ms]: response 0.4 transfer 0.0
????Reply size [B]: header 385.0 content 1176.0 footer 0.0 (total 1561.0)
????Reply status: 1xx=0 2xx=0 3xx=0 4xx=1800 5xx=0
????????????????????????????????????????????С????????????(deviation)??????????????????
????9. ???????????????????
???????????????????????????????????????????????????????????????????????????????????????????????????????????????й?????????????(?????: ?????????????????benchmark?????????)????????????????????????????????????????????????????????????????????????????OS?汾?????á????????á??????????????????汾?????á??????????????????????????????
????????????£???????????????(????github)?????????κ????????С?????(??????????)???????????
????10. ??????????
??????????????????????????httperf??autobench?????????????????????????????httperf???????????????Щ???????????httperf????????????????????????????????httperf????????50??500??????????????ЩPHP?????????????????????????????????????????????Щ?????web????????
???????????????????????????????????????????????????Щ???????????????????????????????????????磬??Щ????????????????????Щ?????????????????????????????????
????????????????httperf????????????????????????к??????????????????棬???????????帺??????????????????????????????????????????????????????????????????????
?????????????siege?????????????滹?????httperf??????????????????????????????????