Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shogo82148
Last active November 23, 2015 04:19
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 shogo82148/a1524f31292202ec34f3 to your computer and use it in GitHub Desktop.
Save shogo82148/a1524f31292202ec34f3 to your computer and use it in GitHub Desktop.
$ ab -r -n 1000000 -c 10 http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Completed 1000000 requests
Finished 1000000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 15 bytes
Concurrency Level: 10
Time taken for tests: 71.298 seconds
Complete requests: 1000000
Failed requests: 0
Write errors: 0
Total transferred: 132000000 bytes
HTML transferred: 15000000 bytes
Requests per second: 14025.65 [#/sec] (mean)
Time per request: 0.713 [ms] (mean)
Time per request: 0.071 [ms] (mean, across all concurrent requests)
Transfer rate: 1807.99 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 6
Processing: 0 1 1.5 0 41
Waiting: 0 1 1.4 0 33
Total: 0 1 1.5 0 41
Percentage of the requests served within a certain time (ms)
50% 0
66% 1
75% 1
80% 1
90% 1
95% 1
98% 5
99% 9
100% 41 (longest request)
$ boom -n 1000000 -c 10 http://localhost:8080/
1000000 / 1000000 Booooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00 %
Summary:
Total: 176.9706 secs.
Slowest: 0.1113 secs.
Fastest: 0.0002 secs.
Average: 0.0018 secs.
Requests/sec: 5650.6556
Total Data Received: 16000000 bytes.
Response Size per Request: 16 bytes.
Status code distribution:
[200] 1000000 responses
Response time histogram:
0.000 [1] |
0.011 [994686] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
0.022 [3993] |
0.034 [959] |
0.045 [161] |
0.056 [72] |
0.067 [89] |
0.078 [15] |
0.089 [6] |
0.100 [14] |
0.111 [4] |
Latency distribution:
10% in 0.0008 secs.
25% in 0.0010 secs.
50% in 0.0013 secs.
75% in 0.0019 secs.
90% in 0.0025 secs.
95% in 0.0041 secs.
99% in 0.0093 secs.
$ ab -r -n 1000000 -c 10 -k http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Completed 1000000 requests
Finished 1000000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 16 bytes
Concurrency Level: 10
Time taken for tests: 33.770 seconds
Complete requests: 1000000
Failed requests: 665
(Connect: 0, Receive: 5, Length: 331, Exceptions: 329)
Write errors: 0
Keep-Alive requests: 999669
Total transferred: 156948033 bytes
HTML transferred: 15994704 bytes
Requests per second: 29611.83 [#/sec] (mean)
Time per request: 0.338 [ms] (mean)
Time per request: 0.034 [ms] (mean, across all concurrent requests)
Transfer rate: 4538.59 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 0 0 0.6 0 24
Waiting: 0 0 0.6 0 24
Total: 0 0 0.6 0 24
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 1
95% 1
98% 1
99% 1
100% 24 (longest request)
$ ab -r -n 1000000 -c 10 http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Completed 1000000 requests
Finished 1000000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 15 bytes
Concurrency Level: 10
Time taken for tests: 72.437 seconds
Complete requests: 1000000
Failed requests: 122
(Connect: 0, Receive: 0, Length: 122, Exceptions: 0)
Write errors: 0
Total transferred: 131984244 bytes
HTML transferred: 14998170 bytes
Requests per second: 13805.12 [#/sec] (mean)
Time per request: 0.724 [ms] (mean)
Time per request: 0.072 [ms] (mean, across all concurrent requests)
Transfer rate: 1779.35 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 7
Processing: 0 1 1.5 0 45
Waiting: 0 1 1.5 0 36
Total: 0 1 1.5 0 45
Percentage of the requests served within a certain time (ms)
50% 0
66% 1
75% 1
80% 1
90% 1
95% 1
98% 5
99% 9
100% 45 (longest request)
$ boom -n 1000000 -c 10 http://localhost:8080/
1000000 / 1000000 Booooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00 %
Summary:
Total: 176.9939 secs.
Slowest: 0.0950 secs.
Fastest: 0.0002 secs.
Average: 0.0018 secs.
Requests/sec: 5647.3767
Total Data Received: 15992816 bytes.
Response Size per Request: 16 bytes.
Status code distribution:
[200] 999551 responses
Response time histogram:
0.000 [1] |
0.010 [991486] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
0.019 [6028] |
0.029 [1502] |
0.038 [299] |
0.048 [58] |
0.057 [77] |
0.067 [32] |
0.076 [32] |
0.085 [28] |
0.095 [8] |
Latency distribution:
10% in 0.0008 secs.
25% in 0.0010 secs.
50% in 0.0013 secs.
75% in 0.0019 secs.
90% in 0.0025 secs.
95% in 0.0040 secs.
99% in 0.0093 secs.
Error distribution:
[449] Get http://localhost:8080/: EOF
$ ab -r -n 1000000 -c 10 -k http://localhost:8080/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
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 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Completed 1000000 requests
Finished 1000000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /
Document Length: 16 bytes
Concurrency Level: 10
Time taken for tests: 34.971 seconds
Complete requests: 1000000
Failed requests: 773
(Connect: 0, Receive: 174, Length: 342, Exceptions: 257)
Write errors: 0
Keep-Alive requests: 999659
Total transferred: 156946446 bytes
HTML transferred: 15994528 bytes
Requests per second: 28595.32 [#/sec] (mean)
Time per request: 0.350 [ms] (mean)
Time per request: 0.035 [ms] (mean, across all concurrent requests)
Transfer rate: 4382.75 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 2
Processing: 0 0 0.6 0 24
Waiting: 0 0 0.6 0 24
Total: 0 0 0.6 0 24
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 1
95% 1
98% 1
99% 2
100% 24 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment