aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper_tools/bench.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2018-04-07 07:48:58 +1200
committerAldo Cortesi <aldo@corte.si>2018-04-16 09:19:14 +1200
commitb663a224a3655aab95a39eab2450f1f0e98997f2 (patch)
tree81e3f5445c0af49fbfe09a6bcbd3c89dc3e7904e /test/helper_tools/bench.py
parent5f74adc2df6d2a9452a9e3a6923fe05ba579e9e6 (diff)
downloadmitmproxy-b663a224a3655aab95a39eab2450f1f0e98997f2.tar.gz
mitmproxy-b663a224a3655aab95a39eab2450f1f0e98997f2.tar.bz2
mitmproxy-b663a224a3655aab95a39eab2450f1f0e98997f2.zip
Improve benchmarking
- The benchmark addon now manages setting up and tearing down the backend and traffic processes itself. - Use wrk instead of hey. I get more consistent results with this tool, and hey shows a strange tail-latency bump that seems artificial. - Make termination behaviour simpler. The bencmark revealed a bug where .done events were not called if the proxy was shut down by an addon.
Diffstat (limited to 'test/helper_tools/bench.py')
0 files changed, 0 insertions, 0 deletions