Skip to content

Instantly share code, notes, and snippets.

@klaemo
Created March 5, 2014 16:21
Show Gist options
  • Save klaemo/9370503 to your computer and use it in GitHub Desktop.
Save klaemo/9370503 to your computer and use it in GitHub Desktop.
CouchDB + stud: https vs. http
ab -n 100 -k http://klaemo.me:5984/test/hello
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 klaemo.me (be patient).....done
Server Software: CouchDB/1.5.0
Server Hostname: klaemo.me
Server Port: 5984
Document Path: /test/hello
Document Length: 76 bytes
Concurrency Level: 1
Time taken for tests: 10.293 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Keep-Alive requests: 100
Total transferred: 33600 bytes
HTML transferred: 7600 bytes
Requests per second: 9.72 [#/sec] (mean)
Time per request: 102.933 [ms] (mean)
Time per request: 102.933 [ms] (mean, across all concurrent requests)
Transfer rate: 3.19 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 5.2 0 52
Processing: 99 102 2.2 102 112
Waiting: 50 53 1.4 52 57
Total: 99 103 5.3 102 150
Percentage of the requests served within a certain time (ms)
50% 102
66% 103
75% 104
80% 104
90% 106
95% 106
98% 112
99% 150
100% 150 (longest request)
$ ab -n 100 -k https://klaemo.me:6984/test/hello
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 klaemo.me (be patient).....done
Server Software: CouchDB/1.5.0
Server Hostname: klaemo.me
Server Port: 6984
SSL/TLS Protocol: TLSv1,DHE-RSA-AES256-SHA,2048,256
Document Path: /test/hello
Document Length: 76 bytes
Concurrency Level: 1
Time taken for tests: 5.338 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Keep-Alive requests: 100
Total transferred: 33600 bytes
HTML transferred: 7600 bytes
Requests per second: 18.73 [#/sec] (mean)
Time per request: 53.378 [ms] (mean)
Time per request: 53.378 [ms] (mean, across all concurrent requests)
Transfer rate: 6.15 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 21.2 0 212
Processing: 47 51 10.2 48 110
Waiting: 47 51 10.2 48 110
Total: 47 53 23.3 48 260
Percentage of the requests served within a certain time (ms)
50% 48
66% 50
75% 50
80% 52
90% 56
95% 66
98% 110
99% 260
100% 260 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment