diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2018-04-07 07:48:58 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-04-16 09:19:14 +1200 |
commit | b663a224a3655aab95a39eab2450f1f0e98997f2 (patch) | |
tree | 81e3f5445c0af49fbfe09a6bcbd3c89dc3e7904e /test/bench/simple.mitmproxy | |
parent | 5f74adc2df6d2a9452a9e3a6923fe05ba579e9e6 (diff) | |
download | mitmproxy-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/bench/simple.mitmproxy')
-rwxr-xr-x | test/bench/simple.mitmproxy | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/bench/simple.mitmproxy b/test/bench/simple.mitmproxy deleted file mode 100755 index 9de32981..00000000 --- a/test/bench/simple.mitmproxy +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -mkdir -p results -mitmdump -p 10002 --mode reverse:http://devd.io:10001 \ - -s ./profiler.py --set profile_path=./results/simple.prof |