Skip to content

Instantly share code, notes, and snippets.

@illustris
Created July 17, 2018 02:11
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/15801aa42e8d0fecf6554f5e5e77948b to your computer and use it in GitHub Desktop.
Save illustris/15801aa42e8d0fecf6554f5e5e77948b to your computer and use it in GitHub Desktop.
time ab -k -c 1000 -n 2000000 http://127.0.0.1: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 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:
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /
Document Length: 0 bytes
Concurrency Level: 1000
Time taken for tests: 17.361 seconds
Complete requests: 2000000
Failed requests: 2000000
(Connect: 0, Receive: 0, Length: 1999840, Exceptions: 160)
Keep-Alive requests: 1980318
Total transferred: 513861270 bytes
HTML transferred: 25997920 bytes
Requests per second: 115200.28 [#/sec] (mean)
Time per request: 8.681 [ms] (mean)
Time per request: 0.009 [ms] (mean, across all concurrent requests)
Transfer rate: 28904.77 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.4 0 27
Processing: 1 9 3.2 7 42
Waiting: 0 8 3.2 7 34
Total: 1 9 3.7 7 53
Percentage of the requests served within a certain time (ms)
50% 7
66% 8
75% 9
80% 10
90% 14
95% 17
98% 20
99% 22
100% 53 (longest request)
7.15user 11.22system 0:18.44elapsed 99%CPU (0avgtext+0avgdata 142452maxresident)k
0inputs+0outputs (0major+73686minor)pagefaults 0swaps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment