Last active
August 29, 2015 14:26
-
-
Save gmassanek/fb9327031029b40d4a97 to your computer and use it in GitHub Desktop.
Go Profiling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================================================================================================================== | |
// With Backtraces in steno logs | |
========================================================================================================================== | |
=============================================================== x10======================================================= | |
[geoff@dealestate-app1-staging ~]$ ab -n 5000 -c 10 http://gdag-app1-uat.snc1:8080/v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
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 gdag-app1-uat.snc1 (be patient) | |
Completed 500 requests | |
Completed 1000 requests | |
Completed 1500 requests | |
Completed 2000 requests | |
Completed 2500 requests | |
Completed 3000 requests | |
Completed 3500 requests | |
Completed 4000 requests | |
Completed 4500 requests | |
Completed 5000 requests | |
Finished 5000 requests | |
Server Software: | |
Server Hostname: gdag-app1-uat.snc1 | |
Server Port: 8080 | |
Document Path: /v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
Document Length: 134 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 2.929 seconds | |
Complete requests: 5000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 1290000 bytes | |
HTML transferred: 670000 bytes | |
Requests per second: 1707.13 [#/sec] (mean) | |
Time per request: 5.858 [ms] (mean) | |
Time per request: 0.586 [ms] (mean, across all concurrent requests) | |
Transfer rate: 430.12 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.0 0 1 | |
Processing: 0 6 15.1 1 155 | |
Waiting: 0 5 15.1 1 155 | |
Total: 1 6 15.1 2 155 | |
Percentage of the requests served within a certain time (ms) | |
50% 2 | |
66% 2 | |
75% 3 | |
80% 3 | |
90% 4 | |
95% 45 | |
98% 49 | |
99% 68 | |
100% 155 (longest request) | |
=============================================================== x50 ======================================================= | |
[geoff@dealestate-app1-staging ~]$ ab -n 5000 -c 50 http://gdag-app1-uat.snc1:8080/v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
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 gdag-app1-uat.snc1 (be patient) | |
Completed 500 requests | |
Completed 1000 requests | |
Completed 1500 requests | |
Completed 2000 requests | |
Completed 2500 requests | |
Completed 3000 requests | |
Completed 3500 requests | |
Completed 4000 requests | |
Completed 4500 requests | |
Completed 5000 requests | |
Finished 5000 requests | |
Server Software: | |
Server Hostname: gdag-app1-uat.snc1 | |
Server Port: 8080 | |
Document Path: /v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
Document Length: 134 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 2.813 seconds | |
Complete requests: 5000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 1290000 bytes | |
HTML transferred: 670000 bytes | |
Requests per second: 1777.31 [#/sec] (mean) | |
Time per request: 28.132 [ms] (mean) | |
Time per request: 0.563 [ms] (mean, across all concurrent requests) | |
Transfer rate: 447.80 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.1 0 1 | |
Processing: 0 27 37.0 8 625 | |
Waiting: 0 27 37.0 8 624 | |
Total: 1 28 37.0 9 625 | |
Percentage of the requests served within a certain time (ms) | |
50% 9 | |
66% 46 | |
75% 53 | |
80% 55 | |
90% 60 | |
95% 100 | |
98% 116 | |
99% 134 | |
100% 625 (longest request) | |
========================================================================================================================== | |
// Without Backtraces in steno logs | |
========================================================================================================================== | |
===================================================== x10 ================================================================= | |
[geoff@dealestate-app1-staging ~]$ ab -n 5000 -c 10 http://gdag-app1-uat.snc1:8080/v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
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 gdag-app1-uat.snc1 (be patient) | |
Completed 500 requests | |
Completed 1000 requests | |
Completed 1500 requests | |
Completed 2000 requests | |
Completed 2500 requests | |
Completed 3000 requests | |
Completed 3500 requests | |
Completed 4000 requests | |
Completed 4500 requests | |
Completed 5000 requests | |
Finished 5000 requests | |
Server Software: | |
Server Hostname: gdag-app1-uat.snc1 | |
Server Port: 8080 | |
Document Path: /v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
Document Length: 134 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 2.014 seconds | |
Complete requests: 5000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 1290000 bytes | |
HTML transferred: 670000 bytes | |
Requests per second: 2482.46 [#/sec] (mean) | |
Time per request: 4.028 [ms] (mean) | |
Time per request: 0.403 [ms] (mean, across all concurrent requests) | |
Transfer rate: 625.46 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.0 0 1 | |
Processing: 0 4 10.7 1 101 | |
Waiting: 0 4 10.7 1 101 | |
Total: 1 4 10.7 2 102 | |
Percentage of the requests served within a certain time (ms) | |
50% 2 | |
66% 2 | |
75% 2 | |
80% 3 | |
90% 4 | |
95% 7 | |
98% 45 | |
99% 50 | |
100% 102 (longest request) | |
===================================================== x50 ================================================================== | |
[geoff@dealestate-app1-staging ~]$ ab -n 5000 -c 50 http://gdag-app1-uat.snc1:8080/v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
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 gdag-app1-uat.snc1 (be patient) | |
Completed 500 requests | |
Completed 1000 requests | |
Completed 1500 requests | |
Completed 2000 requests | |
Completed 2500 requests | |
Completed 3000 requests | |
Completed 3500 requests | |
Completed 4000 requests | |
Completed 4500 requests | |
Completed 5000 requests | |
Finished 5000 requests | |
Server Software: | |
Server Hostname: gdag-app1-uat.snc1 | |
Server Port: 8080 | |
Document Path: /v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
Document Length: 134 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 2.350 seconds | |
Complete requests: 5000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 1290000 bytes | |
HTML transferred: 670000 bytes | |
Requests per second: 2128.09 [#/sec] (mean) | |
Time per request: 23.495 [ms] (mean) | |
Time per request: 0.470 [ms] (mean, across all concurrent requests) | |
Transfer rate: 536.18 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.1 0 1 | |
Processing: 0 23 27.5 9 190 | |
Waiting: 0 23 27.5 9 190 | |
Total: 1 23 27.5 9 190 | |
Percentage of the requests served within a certain time (ms) | |
50% 9 | |
66% 14 | |
75% 48 | |
80% 50 | |
90% 58 | |
95% 82 | |
98% 106 | |
99% 109 | |
100% 190 (longest request) | |
========================================================================================================================== | |
// Without GIN logger | |
========================================================================================================================== | |
===================================================== x10 ================================================================= | |
[geoff@dealestate-app1-staging ~]$ ab -n 5000 -c 10 http://gdag-app1-uat.snc1:8080/v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
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 gdag-app1-uat.snc1 (be patient) | |
Completed 500 requests | |
Completed 1000 requests | |
Completed 1500 requests | |
Completed 2000 requests | |
Completed 2500 requests | |
Completed 3000 requests | |
Completed 3500 requests | |
Completed 4000 requests | |
Completed 4500 requests | |
Completed 5000 requests | |
Finished 5000 requests | |
Server Software: | |
Server Hostname: gdag-app1-uat.snc1 | |
Server Port: 8080 | |
Document Path: /v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
Document Length: 134 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 1.743 seconds | |
Complete requests: 5000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 1290000 bytes | |
HTML transferred: 670000 bytes | |
Requests per second: 2868.79 [#/sec] (mean) | |
Time per request: 3.486 [ms] (mean) | |
Time per request: 0.349 [ms] (mean, across all concurrent requests) | |
Transfer rate: 722.80 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.1 0 2 | |
Processing: 0 3 16.8 1 327 | |
Waiting: 0 3 16.8 1 327 | |
Total: 1 3 16.8 1 328 | |
Percentage of the requests served within a certain time (ms) | |
50% 1 | |
66% 2 | |
75% 2 | |
80% 2 | |
90% 3 | |
95% 4 | |
98% 37 | |
99% 40 | |
100% 328 (longest request) | |
===================================================== x50 ================================================================= | |
[geoff@dealestate-app1-staging ~]$ ab -n 5000 -c 50 http://gdag-app1-uat.snc1:8080/v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
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 gdag-app1-uat.snc1 (be patient) | |
Completed 500 requests | |
Completed 1000 requests | |
Completed 1500 requests | |
Completed 2000 requests | |
Completed 2500 requests | |
Completed 3000 requests | |
Completed 3500 requests | |
Completed 4000 requests | |
Completed 4500 requests | |
Completed 5000 requests | |
Finished 5000 requests | |
Server Software: | |
Server Hostname: gdag-app1-uat.snc1 | |
Server Port: 8080 | |
Document Path: /v1/deals/207bfbcb-ed30-4bd1-81e6-dbeafccdbc86 | |
Document Length: 134 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 1.928 seconds | |
Complete requests: 5000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 1290258 bytes | |
HTML transferred: 670134 bytes | |
Requests per second: 2592.79 [#/sec] (mean) | |
Time per request: 19.284 [ms] (mean) | |
Time per request: 0.386 [ms] (mean, across all concurrent requests) | |
Transfer rate: 653.39 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.1 0 2 | |
Processing: 0 19 36.3 6 360 | |
Waiting: 0 19 36.3 6 360 | |
Total: 1 19 36.3 6 361 | |
Percentage of the requests served within a certain time (ms) | |
50% 6 | |
66% 8 | |
75% 11 | |
80% 16 | |
90% 51 | |
95% 108 | |
98% 150 | |
99% 170 | |
100% 361 (longest request) | |
========================================================================================================================== | |
// Without LoggingMiddleware for each reques | |
========================================================================================================================== | |
=============================================================== x10======================================================= | |
[geoff@dealestate-app1-staging ~]$ ab -n 50000 -c 10 http://gdag-app1-uat.snc1:8080/v1/foo | |
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 gdag-app1-uat.snc1 (be patient) | |
Completed 5000 requests | |
Completed 10000 requests | |
Completed 15000 requests | |
Completed 20000 requests | |
Completed 25000 requests | |
Completed 30000 requests | |
Completed 35000 requests | |
Completed 40000 requests | |
Completed 45000 requests | |
Completed 50000 requests | |
Finished 50000 requests | |
Server Software: | |
Server Hostname: gdag-app1-uat.snc1 | |
Server Port: 8080 | |
Document Path: /v1/foo | |
Document Length: 14 bytes | |
Concurrency Level: 10 | |
Time taken for tests: 6.176 seconds | |
Complete requests: 50000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 6850000 bytes | |
HTML transferred: 700000 bytes | |
Requests per second: 8095.21 [#/sec] (mean) | |
Time per request: 1.235 [ms] (mean) | |
Time per request: 0.124 [ms] (mean, across all concurrent requests) | |
Transfer rate: 1083.05 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.1 0 1 | |
Processing: 0 1 0.6 1 12 | |
Waiting: 0 1 0.6 1 12 | |
Total: 0 1 0.6 1 12 | |
Percentage of the requests served within a certain time (ms) | |
50% 1 | |
66% 1 | |
75% 2 | |
80% 2 | |
90% 2 | |
95% 2 | |
98% 3 | |
99% 3 | |
100% 12 (longest request) | |
=============================================================== x50======================================================= | |
[geoff@dealestate-app1-staging ~]$ ab -n 50000 -c 50 http://gdag-app1-uat.snc1:8080/v1/foo | |
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 gdag-app1-uat.snc1 (be patient) | |
Completed 5000 requests | |
Completed 10000 requests | |
Completed 15000 requests | |
Completed 20000 requests | |
Completed 25000 requests | |
Completed 30000 requests | |
Completed 35000 requests | |
Completed 40000 requests | |
Completed 45000 requests | |
Completed 50000 requests | |
Finished 50000 requests | |
Server Software: | |
Server Hostname: gdag-app1-uat.snc1 | |
Server Port: 8080 | |
Document Path: /v1/foo | |
Document Length: 14 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 3.813 seconds | |
Complete requests: 50000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 6850000 bytes | |
HTML transferred: 700000 bytes | |
Requests per second: 13114.12 [#/sec] (mean) | |
Time per request: 3.813 [ms] (mean) | |
Time per request: 0.076 [ms] (mean, across all concurrent requests) | |
Transfer rate: 1754.53 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 1 0.3 0 3 | |
Processing: 0 3 1.9 3 22 | |
Waiting: 0 3 1.9 3 21 | |
Total: 1 4 1.9 3 23 | |
ERROR: The median and mean for the initial connection time are more than twice the standard | |
deviation apart. These results are NOT reliable. | |
Percentage of the requests served within a certain time (ms) | |
50% 3 | |
66% 4 | |
75% 4 | |
80% 5 | |
90% 6 | |
95% 8 | |
98% 9 | |
99% 11 | |
100% 23 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment