Create a gist now

Instantly share code, notes, and snippets.

bouncy vs http-proxy benchmark results
substack : bench $ ab -n 100 -c 10 http://localhost:38107/
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).....done
Server Software:
Server Hostname: localhost
Server Port: 38107
Document Path: /
Document Length: 12 bytes
Concurrency Level: 10
Time taken for tests: 0.145 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 5000 bytes
HTML transferred: 1200 bytes
Requests per second: 691.99 [#/sec] (mean)
Time per request: 14.451 [ms] (mean)
Time per request: 1.445 [ms] (mean, across all concurrent requests)
Transfer rate: 33.79 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.3 0 3
Processing: 9 14 6.6 12 34
Waiting: 8 12 6.4 10 31
Total: 9 14 6.8 12 36
Percentage of the requests served within a certain time (ms)
50% 12
66% 13
75% 14
80% 15
90% 32
95% 34
98% 35
99% 36
100% 36 (longest request)
substack : bench $
substack : bench $ ab -n 100 -c 10 http://localhost:39491/
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).....done
Server Software:
Server Hostname: localhost
Server Port: 39491
Document Path: /
Document Length: 22 bytes
Concurrency Level: 10
Time taken for tests: 0.220 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 8800 bytes
HTML transferred: 2200 bytes
Requests per second: 454.12 [#/sec] (mean)
Time per request: 22.021 [ms] (mean)
Time per request: 2.202 [ms] (mean, across all concurrent requests)
Transfer rate: 39.03 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 1
Processing: 12 21 7.2 20 43
Waiting: 12 21 7.1 20 43
Total: 12 22 7.3 20 44
Percentage of the requests served within a certain time (ms)
50% 20
66% 22
75% 24
80% 26
90% 35
95% 40
98% 43
99% 44
100% 44 (longest request)
substack : bench $
@ngryman
ngryman commented Jan 25, 2014

Hey,

Just curious but why document length, total transferred and html transferred are greater in the http-proxy bench?
Were you using different documents?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment