@walkor 我在git上下載了workerman壓測(cè)代碼workerman-bench-master,然后放在了gatewayworker同級(jí)目錄下,然后啟動(dòng)start.php,再執(zhí)行./benchmark -n10000 -h1 -c400 -p56789 127.0.0.1這段代碼,端口和ip我都換成自己的了,但是系統(tǒng)顯示no such file or directory,是我的壓測(cè)代碼位置放的不對(duì)嗎?
workerman-bench 是老項(xiàng)目的壓測(cè)腳本,已經(jīng)不維護(hù)了
請(qǐng)問(wèn)我在做ab測(cè)試時(shí),其中的ip是要和上圖$worker中的ip一樣是嗎?還有就是我在ab測(cè)試結(jié)果中出現(xiàn)了一個(gè)警告,the median and mean for the processing time are not within a normal deviation ,these results are probably not that reliable.這個(gè)需要注意嗎?我用不同參數(shù)測(cè)了三次,只有第二次測(cè)試時(shí)出現(xiàn)了這個(gè)警告,第二次測(cè)試的請(qǐng)求數(shù)和并發(fā)數(shù)介于第一次和第三次之間