Skip to content

Instantly share code, notes, and snippets.

@illustris
Created July 17, 2018 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save illustris/59076933bbe2868a1de4f6693981a7a1 to your computer and use it in GitHub Desktop.
Save illustris/59076933bbe2868a1de4f6693981a7a1 to your computer and use it in GitHub Desktop.
time ab -k -c 1000 -n 2000000 http://127.0.0.1:80/
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 127.0.0.1 (be patient)
Completed 200000 requests
Completed 400000 requests
Completed 600000 requests
Completed 800000 requests
Completed 1000000 requests
Completed 1200000 requests
Completed 1400000 requests
Completed 1600000 requests
Completed 1800000 requests
Completed 2000000 requests
Finished 2000000 requests
Server Software: Apache/2.4.29
Server Hostname: 127.0.0.1
Server Port: 80
Document Path: /
Document Length: 13 bytes
Concurrency Level: 1000
Time taken for tests: 41.445 seconds
Complete requests: 2000000
Failed requests: 451706
(Connect: 0, Receive: 0, Length: 451706, Exceptions: 0)
Keep-Alive requests: 1548338
Total transferred: 455663353 bytes
HTML transferred: 20128394 bytes
Requests per second: 48257.14 [#/sec] (mean)
Time per request: 20.722 [ms] (mean)
Time per request: 0.021 [ms] (mean, across all concurrent requests)
Transfer rate: 10736.82 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 7 73.0 0 3059
Processing: 0 11 40.0 8 4992
Waiting: 0 9 28.2 7 3376
Total: 0 18 86.9 8 4992
Percentage of the requests served within a certain time (ms)
50% 8
66% 10
75% 16
80% 19
90% 25
95% 30
98% 36
99% 52
100% 4992 (longest request)
9.51user 27.76system 0:42.75elapsed 87%CPU (0avgtext+0avgdata 142380maxresident)k
0inputs+0outputs (0major+78453minor)pagefaults 0swaps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment