Skip to content

Instantly share code, notes, and snippets.

@benfalk
Created June 20, 2019 22:45
Show Gist options
  • Select an option

  • Save benfalk/a0a072af0c3f2432da9b561834a78240 to your computer and use it in GitHub Desktop.

Select an option

Save benfalk/a0a072af0c3f2432da9b561834a78240 to your computer and use it in GitHub Desktop.
ab -k -c 20 -n 500000 http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 50000 requests
Completed 100000 requests
Completed 150000 requests
Completed 200000 requests
Completed 250000 requests
Completed 300000 requests
Completed 350000 requests
Completed 400000 requests
Completed 450000 requests
Completed 500000 requests
Finished 500000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 13 bytes
Concurrency Level: 20
Time taken for tests: 14.466 seconds
Complete requests: 500000
Failed requests: 0
Keep-Alive requests: 500000
Total transferred: 67500000 bytes
HTML transferred: 6500000 bytes
Requests per second: 34564.41 [#/sec] (mean)
Time per request: 0.579 [ms] (mean)
Time per request: 0.029 [ms] (mean, across all concurrent requests)
Transfer rate: 4556.83 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 3.8 0 1028
Processing: 0 1 0.9 0 212
Waiting: 0 1 0.9 0 212
Total: 0 1 4.1 0 1240
WARNING: The median and mean for the processing time are not within a normal deviation
These results are probably not that reliable.
WARNING: The median and mean for the waiting time are not within a normal deviation
These results are probably not that reliable.
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 1
80% 1
90% 1
95% 2
98% 3
99% 4
100% 1240 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment