ab (ApacheBench)

From wikieduonline
Jump to navigation Jump to search

wikipedia:ApacheBench Apache HTTP server benchmarking tool

ab -n 5000 -c 25 http://nyan-Publi-WI97060DJP1B-2041999651.us-east-1.elb.amazonaws.com/index.html

Examples[edit]

index.php[edit]

ab -n 50 -c 25 https://wikieduonline.com/index.php
This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking wikieduonline.com (be patient).....done


Server Software:        cloudflare
Server Hostname:        wikieduonline.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-ECDSA-CHACHA20-POLY1305,256,256
Server Temp Key:        ECDH X25519 253 bits
TLS Server Name:        wikieduonline.com

Document Path:          /index.php
Document Length:        0 bytes

Concurrency Level:      25
Time taken for tests:   3.064 seconds
Complete requests:      50
Failed requests:        0
Non-2xx responses:      50
Total transferred:      42258 bytes
HTML transferred:       0 bytes
Requests per second:    16.32 [#/sec] (mean)
Time per request:       1532.099 [ms] (mean)
Time per request:       61.284 [ms] (mean, across all concurrent requests)
Transfer rate:          13.47 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      379  457  59.8    440     608
Processing:   192  545 262.2    476    1059
Waiting:      190  544 262.4    476    1059
Total:        592 1003 290.1    940    1590

Percentage of the requests served within a certain time (ms)
  50%    940
  66%   1111
  75%   1216
  80%   1317
  90%   1482
  95%   1519
  98%   1590
  99%   1590
 100%   1590 (longest request)

index.html[edit]

ab -n 50 -c 25 "https://wikieduonline.com/index.html"
This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking wikieduonline.com (be patient).....done


Server Software:        cloudflare
Server Hostname:        wikieduonline.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-ECDSA-CHACHA20-POLY1305,256,256
Server Temp Key:        ECDH X25519 253 bits
TLS Server Name:        wikieduonline.com

Document Path:          /index.html
Document Length:        162 bytes

Concurrency Level:      25
Time taken for tests:   3.282 seconds
Complete requests:      50
Failed requests:        0
Non-2xx responses:      50
Total transferred:      36280 bytes
HTML transferred:       8100 bytes
Requests per second:    15.23 [#/sec] (mean)
Time per request:       1641.113 [ms] (mean)
Time per request:       65.645 [ms] (mean, across all concurrent requests)
Transfer rate:          10.79 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      366  435  59.8    415     609
Processing:   140  310 266.7    172    1132
Waiting:      140  310 266.8    172    1132
Total:        516  745 309.8    626    1681

Percentage of the requests served within a certain time (ms)
  50%    626
  66%    753
  75%    786
  80%    856
  90%   1066
  95%   1637
  98%   1681
  99%   1681
 100%   1681 (longest request)


Related[edit]

See also[edit]

Advertising: