我在自己的mac下安装了virutalbox,然后在里面装了centos5.9跑django,用http_load测试,不知道自己的程序性能如何。求分析是否正常
Mac OSX: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz | 频率:2359.617
虚拟机:virtualbox centos 5.9, 单核 1G内存
环境:nginx+uwsgi+django1.5
使用http_load对主页进行测试,主页是算是动态页面:
$http_load -p 20 -f 100 urllist.txt
100 fetches, 20 max parallel, 471417 bytes, in 0.763381 seconds
4714.17 mean bytes/connection
130.996 fetches/sec, 617538 bytes/sec
msecs/connect: 8.16768 mean, 99.94 max, 0.082 min
msecs/first-response: 131.252 mean, 225.497 max, 0.055 min
93 bad byte counts
HTTP response codes:
code 200 -- 93
查看nginx访问log有时会有499错误