Himself in the cmd wrote a half-day path also did not write right. Finally a friend on the internet told me that there is no common language ... The gap is really big! Big can cat die panda sooner or later kill you, call you ya all day taunt me!
For example, my ab.exe in the D-Disk Wamp folder under the Apache folder under the Bin folder. So in the cmd can write: "D:\wamp\apache\bin\ab.exe" There is a more simple way. And because of this way I was able to cat again taunt! Do you know anything about the explorer? Do not understand to go under the Baidu! Frankly, the Explorer is my Computer! Yes, you heard me right, that's my computer! Just 998! He is all kinds of taunt me ah ~ who call us food, and then hold shift+ right click on your ab.exe. Click the copy path and then paste in cmd on the line, you run after the legendary Ab.exe ... Oh, wool. All sorts of ridiculed, and yesterday I changed the company database field, and I asked him what I would do. Give me three words: soft run! Day's.
After entering the Ab.exe on the Internet to search the tutorial on a ton of a little to pay attention to. A few posts on the direct write is Ab-n 1000-c1000 http://www.google.com/so written in my computer is not able to run. It's OK to add the path of AB to the front.
Because I am here slow speed, so the test time to wait. Asked the big cat, he told me this is the test of local pressure ... It's pointless to test online for all the Internet connections. So you know! Once again being ridiculed!
I am forced to ...
Well, I just showed him the results. Then he was ridiculed again. I'm too complicated to write. There's a simpler way. In the bin directory, hold down the shift+ space and right-click. Click here to open the Command window.
Then directly to write AB XXX on it ...
Wamp\bin\apache\apache2.2.11\ab.exe
For simple unit testing, use:
Ab-n 10-c http://www.google.com/
Can get a lot of results:
This is apachebench, Version 2.0.40-dev < $Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 1997-2005 the Apache Software Foundation, http://www.apache.org/
Benchmarking www.google.com (Be patient) ... done
The Server software:gws/2.1//Google's own development to replace Apache.
Server Hostname:www.google.com
Server port:80
Document Path:/
Document length:230 bytes//file length
Concurrency Level:10
* * The duration of the entire test/
Time taken for tests:3.234651 seconds
/* Number of requests completed/*
Complete requests:10
/* Number of failed requests * *
/* I requested 200 failed 150 on my own computer ... */
Failed requests:0
<Connect:0; length:150,exceptions:0>/* This paragraph after the addition of the * *
Write errors:0
Non-2xx responses:10
Keep-alive requests:10
/* network traffic in the entire scene * *
Total transferred:6020 bytes
/* The amount of HTML content in the entire scene is transmitted.
HTML transferred:2300 bytes
/* One of the most concerned indicators, the equivalent of LR in the number of transactions per second, the following brackets in the mean that this is an average * *
Requests per second:3.09 [#/sec] (mean)
/* The two most concerned indicators, equivalent to the average transaction response time in LR, followed by the mean in parentheses that this is an average * *
Time per request:3234.651 [MS] (mean)
* * This does not know what is meant to have a friend to know, please leave a message, thank ^_^ * *
Time/request:323.465 [MS] (mean, across all concurrent requests)
/* Average traffic per second on the network, can help to eliminate the existence of excessive network traffic caused the response time to prolong the problem * *
Transfer rate:1.55 [Kbytes/sec] Received
* * The time spent on the network decomposition, the data of the specific algorithm is not very clear * *
Connection Times (MS)
Min MEAN[+/-SD] Median max
Connect:20 318 926.1 30 2954
processing:40 2160 1462.0 3034 3154
waiting:40 2160 1462.0 3034 3154
Total:60 2479 1276.4 3064 3184
/* The following content is the response of all requests in the entire scene. There is a response time for each request in the scene, where 50% of the user response time is less than 3064 milliseconds, 60 of the user response time is less than 3094 milliseconds, and the maximum response time is less than 3184 milliseconds * *
Percentage of the requests served within a certain time (MS)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service