Home

Awesome

proxybench

Benchmark different proxies on basis of the following:

testImplementedDescription
HTTP Stress:white_check_mark:records the time it takes to finish the test on http://httpvshttps.com
HTTPS Stress (HTTP/2):white_check_mark:records the time it takes to finish the test on https://httpvshttps.com
Heavy Websites:white_check_mark:records the time it takes to open websites like https://techcrunch.com/
HTTPS Stress (HTTP/1.1)
WS Support
WSS Support
<TO ADD MORE>

Installation

Running the benchmark

Reporting

Generates the following:

<pre> +--------------------------------+----------------+------------------------+ | PROXY CONFIG | BENCHMARK | COMPLETED IN (SECONDS) | +--------------------------------+----------------+------------------------+ | Proxy: [Direct] | HTTP Stress | [15.575000] | | Proxy: [Direct] | HTTPS Stress | [2.757000] | | Proxy: [Direct] | Heavy Websites | [20.703525] | | Proxy: | HTTP Stress | [17.920000] | | [browsermob(littleproxy)] | | | | Proxy: | HTTPS Stress | [17.053000] | | [browsermob(littleproxy)] | | | | Proxy: | Heavy Websites | [40.902084] | | [browsermob(littleproxy)] | | | | Proxy: [browsermob(legacy)] | HTTP Stress | [20.777000] | | Proxy: [browsermob(legacy)] | HTTPS Stress | [17.399000] | | Proxy: [browsermob(legacy)] | Heavy Websites | [31.580184] | | Proxy: [mitmproxy] | HTTP Stress | [39.376000] | | Proxy: [mitmproxy] | HTTPS Stress | [47.631000] | | Proxy: [mitmproxy] | Heavy Websites | [198.824246] | | Proxy: [mitmdump] | HTTP Stress | [17.960000] | | Proxy: [mitmdump] | HTTPS Stress | [8.147000] | | Proxy: [mitmdump] | Heavy Websites | [41.605729] | | Proxy: [charles] | HTTP Stress | [18.535000] | | Proxy: [charles] | HTTPS Stress | [6.322000] | | Proxy: [charles] | Heavy Websites | [52.927620] | +--------------------------------+----------------+------------------------+ </pre>

Development

TODO

PS: I made this mainly to learn Go. I will really appreciate if you can point out things in the code which I should improve upon. For example naming conventions, directory structure, or new benchmarks etc. Feel free to open any issues.

Thank You !