ab--n--c - How to determine Apache ab
给我你的怀抱
给我你的怀抱 2017-05-16 17:03:26
0
1
473
D:\Apache\bin>ab.exe -n10000 -c10 http://www.tm.net/
This is ApacheBench, Version 2.3 <$Revision: 1554214 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.tm.net (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:        Apache/2.4.9
Server Hostname:        www.tm.net
Server Port:            80

Document Path:          /
Document Length:        4501 bytes

Concurrency Level:      10
Time taken for tests:   387.812 seconds
Complete requests:      10000
Failed requests:        184
   (Connect: 0, Receive: 0, Length: 184, Exceptions: 0)
Non-2xx responses:      85
Total transferred:      48375059 bytes
HTML transferred:       44510851 bytes
Requests per second:    25.79 [#/sec] (mean)
Time per request:       387.812 [ms] (mean)
Time per request:       38.781 [ms] (mean, across all concurrent requests)
Transfer rate:          121.81 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1   0.8      0      31
Processing:    58  386 511.3    313    6009
Waiting:       58  343 225.3    311    4090
Total:         59  386 511.3    313    6010
WARNING: The median and mean for the initial connection time are not within a no
rmal deviation
        These results are probably not that reliable.

Percentage of the requests served within a certain time (ms)
  50%    313
  66%    370
  75%    410
  80%    439
  90%    539
  95%    633
  98%    861
  99%   3458
 100%   6010 (longest request)

The above code tests the local Apache service. What is a little unclear is this paragraph

HTML transferred:       44510851 bytes
Requests per second:    25.79 [#/sec] (mean)
Time per request:       387.812 [ms] (mean)
Time per request:       38.781 [ms] (mean, across all concurrent requests)
Transfer rate:          121.81 [Kbytes/sec] received

HTML transmission refers to the images, css, and js in the page?

给我你的怀抱
给我你的怀抱

reply all(1)
左手右手慢动作
  1. HTML transferred: 44510851 bytes Number of bytes transferred
    Requests per second: 25.79 [#/sec] (Average number of completed requests per second)
    Time per request: 387.812 [ms] (Average time to complete one concurrency, n=10000)
    Time per request: 38.781 [ms] (The average time spent per request is 38.781, nc = 1000010)
    Transfer rate: 121.81 [Kbytes/sec] Download speed

  2. Does not contain css, js, pictures

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template