Benchmarking tool [closed]
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this questionI'm unable to decide which is a better 开发者_如何学Gobenchmarking tool-Is it apachebench tool or httperf? Please help me to decide which one would be the most appropriate tool to be chosen for benchmarking the web application.
I suppose it depends on what kind of testing you want to do. ApacheBench basically tests a general load, but httperf gives more a surgical precision and can simulate real user activity.
- is “ab” or “httperf” better for checking performance of a website?
- How do you test the performance of a website?
- Most effective and realistic free web-app load tester?
- Tools to benchmark web-services
They're both good for doing different types of testing. httperf will just send a barage of data to your server, whether or not it's answered. That gives you the breaking point of your app, and shows you how it fails out. Use this to find bottlenecks.
apachebench is a bit different in that it sends exactly what you tell it, and is more typically used to measure response times (for example, if you optimize). Once the bottlenecks are found and fixed, check the speed with this.
Please Note: That's what I do, but I'm not a master
I'm unable to decide which is a better benchmarking tool-Is it apachebench tool or httperf?
There is an extensive discussion about the benefit of each tool here:
http://dsec.com/en_apachebench_httperf.html
The guy went as far as to write a wrapper (public domain C code) around Apache Benchmark and HTTPerf to illustrate the pro and cons of each solution.
He also explains how to make sure system settings will not make the benchmark fail, and how to get the most of a server machine (OS, virtualization, etc.).
Hope this helps!
精彩评论