Skip to content

Instantly share code, notes, and snippets.

@missinglink
Created June 6, 2016 11:40
Show Gist options
  • Select an option

  • Save missinglink/1163d82de6118026abd37bd19e8f18d3 to your computer and use it in GitHub Desktop.

Select an option

Save missinglink/1163d82de6118026abd37bd19e8f18d3 to your computer and use it in GitHub Desktop.
benchmark tests of pippi point-in-polygon service
$ ab -c1 -n100 "http://localhost:8080/point?lat=51.533&lon=-0.0652280"
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
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).....done
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /point?lat=51.533&lon=-0.0652280
Document Length: 522 bytes
Concurrency Level: 1
Time taken for tests: 0.041 seconds
Complete requests: 100
Failed requests: 0
Total transferred: 64000 bytes
HTML transferred: 52200 bytes
Requests per second: 2451.16 [#/sec] (mean)
Time per request: 0.408 [ms] (mean)
Time per request: 0.408 [ms] (mean, across all concurrent requests)
Transfer rate: 1531.98 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 0 0.0 0 1
Waiting: 0 0 0.0 0 1
Total: 0 0 0.0 0 1
Percentage of the requests served within a certain time (ms)
50% 0
66% 0
75% 0
80% 0
90% 0
95% 0
98% 1
99% 1
100% 1 (longest request)
$ ab -c10 -n1000 "http://localhost:8080/point?lat=51.533&lon=-0.0652280"
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
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 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /point?lat=51.533&lon=-0.0652280
Document Length: 522 bytes
Concurrency Level: 10
Time taken for tests: 0.214 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 640000 bytes
HTML transferred: 522000 bytes
Requests per second: 4672.72 [#/sec] (mean)
Time per request: 2.140 [ms] (mean)
Time per request: 0.214 [ms] (mean, across all concurrent requests)
Transfer rate: 2920.45 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 2 1.0 2 5
Waiting: 0 2 1.0 2 5
Total: 0 2 1.0 2 5
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 3
80% 3
90% 3
95% 4
98% 4
99% 5
100% 5 (longest request)
$ ab -c100 -n10000 "http://localhost:8080/point?lat=51.533&lon=-0.0652280"
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
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 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /point?lat=51.533&lon=-0.0652280
Document Length: 522 bytes
Concurrency Level: 100
Time taken for tests: 2.878 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 6400000 bytes
HTML transferred: 5220000 bytes
Requests per second: 3474.31 [#/sec] (mean)
Time per request: 28.783 [ms] (mean)
Time per request: 0.288 [ms] (mean, across all concurrent requests)
Transfer rate: 2171.44 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 2
Processing: 0 29 14.6 28 115
Waiting: 0 29 14.6 28 115
Total: 0 29 14.6 28 115
Percentage of the requests served within a certain time (ms)
50% 28
66% 34
75% 38
80% 40
90% 49
95% 56
98% 59
99% 62
100% 115 (longest request)
$ ab -c1000 -n100000 "http://localhost:8080/point?lat=51.533&lon=-0.0652280"
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
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 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Completed 100000 requests
Finished 100000 requests
Server Software:
Server Hostname: localhost
Server Port: 8080
Document Path: /point?lat=51.533&lon=-0.0652280
Document Length: 522 bytes
Concurrency Level: 1000
Time taken for tests: 21.331 seconds
Complete requests: 100000
Failed requests: 0
Total transferred: 64000000 bytes
HTML transferred: 52200000 bytes
Requests per second: 4688.02 [#/sec] (mean)
Time per request: 213.310 [ms] (mean)
Time per request: 0.213 [ms] (mean, across all concurrent requests)
Transfer rate: 2930.01 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 155 512.6 0 7016
Processing: 0 50 43.9 41 874
Waiting: 0 50 43.9 41 874
Total: 0 205 520.2 43 7185
Percentage of the requests served within a certain time (ms)
50% 43
66% 58
75% 71
80% 86
90% 1028
95% 1065
98% 1246
99% 3048
100% 7185 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment