????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??????????????????????????????????