駭客小築's Archiver

star 發表於 2006-2-5 11:44 AM

[指令] Apache內建的測試工具

ex: 要執行 1000 次的 connection, 20 次的 concurrent (並行, 同時).
語法:
[code]# ab -n 1000 -c 20 http://localhost/index.html[/code]

產生出來的結果.
主要要注意的是以下幾個.
Time taken for tests: 總共執行花了多久的時間.(以上 1000 次共多久)
Requests per second: 每秒平均可以處理多少個連線.

頁: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.