Skip to content

Instantly share code, notes, and snippets.

@idibidiart
Last active September 22, 2017 05:10
Show Gist options
  • Save idibidiart/2b2092720899d1c891a8ccd1f2e8489b to your computer and use it in GitHub Desktop.
Save idibidiart/2b2092720899d1c891a8ccd1f2e8489b to your computer and use it in GitHub Desktop.

1 client sending 10 requests

$ ab -c 1 -l -n 10 -H "Accept-Encoding: gzip,deflate" -w http://localhost:8081/webstore/search?q=bed

This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

..done

Server Software:
Server Hostname:localhost
Server Port:8081
Document Path:/webstore/search?q=bed
Document Length:Variable
Concurrency Level:1
Time taken for tests:27.276 seconds
Complete requests:10
Failed requests:0
Total transferred:405197 bytes
HTML transferred:400467 bytes
Requests per second:0.37
Transfer rate:14.51 kb/s received
Connnection Times (ms)
  min avg max
Connect: 0 0 0
Processing: 2112 2727 4952
Total: 2112 2727 4952

10 clients sending 10 requests each

$ ab -c 10 -l -n 100 -H "Accept-Encoding: gzip,deflate" -w http://localhost:8081/webstore/search?q=bed

This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

..done

Server Software:
Server Hostname:localhost
Server Port:8081
Document Path:/webstore/search?q=bed
Document Length:Variable
Concurrency Level:10
Time taken for tests:33.577 seconds
Complete requests:100
Failed requests:0
Total transferred:4052066 bytes
HTML transferred:4004818 bytes
Requests per second:2.98
Transfer rate:117.85 kb/s received
Connnection Times (ms)
  min avg max
Connect: 0 0 0
Processing: 2232 3216 4630
Total: 2232 3216 4630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment