在leopard 上粗略的用 ab 测了下之前的程序, 15并发,1000个请求,请求的页面包含了dbm文件的访问
硬件: 2G 酷睿2双核, 2G内存 系统; MacOSX 10.5 Apache 2 , fastcgi
对web性能指标没太多概念,不知道 1000次每秒的动态请求处理算高了还是低了。
ab -c 15 -n 1000 http://localhost/bt
Concurrency Level: 15
Time taken for tests: 0.978165 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 585000 bytes
HTML transferred: 355000 bytes
Requests per second: 1022.32 [#/sec] (mean)
Time per request: 14.672 [ms] (mean)
Time per request: 0.978 [ms] (mean, across all concurrent requests)
Transfer rate: 583.75 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.2 0 11
Processing: 3 13 5.2 12 40
Waiting: 2 12 5.2 11 40
Total: 5 13 5.3 12 40
Percentage of the requests served within a certain time (ms)
50% 12
66% 13
75% 14
80% 16
90% 22
95% 24
98% 29
99% 36
100% 40 (longest request)
Recent comments
18 hours 9 min ago
1 day 10 hours ago
4 days 5 hours ago
4 days 13 hours ago
4 days 18 hours ago
6 days 11 hours ago
6 days 13 hours ago
6 days 14 hours ago
1 week 12 hours ago
1 week 17 hours ago