2009年11月9日 星期一

Apache內建的測試工具

Apache內建的測試工具

ex: 要執行 1000 次的 connection, 20 次的 concurrent (並行, 同時).
語法:

# ab -n 1000 -c 20 http://localhost/index.html


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

沒有留言:

張貼留言