aboutsummaryrefslogtreecommitdiffstats
path: root/test/bench/simple.mitmproxy
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-03-19 09:39:25 +1300
committerGitHub <noreply@github.com>2018-03-19 09:39:25 +1300
commitcba380de807469d4b8ae6b2db6573473b47f3b30 (patch)
tree9aa095b58d39f727fbaeb76afcaed0737c14ae3b /test/bench/simple.mitmproxy
parentcaed8e67d1e47f95ed65be5356782d77e40d11f1 (diff)
parentc5ad026cbe21e1dfe1d189dfd7f7f0751b7dbb75 (diff)
downloadmitmproxy-cba380de807469d4b8ae6b2db6573473b47f3b30.tar.gz
mitmproxy-cba380de807469d4b8ae6b2db6573473b47f3b30.tar.bz2
mitmproxy-cba380de807469d4b8ae6b2db6573473b47f3b30.zip
Merge pull request #2995 from cortesi/bench
bench: Add some very simple manual benchmarking helpers
Diffstat (limited to 'test/bench/simple.mitmproxy')
-rwxr-xr-xtest/bench/simple.mitmproxy5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/bench/simple.mitmproxy b/test/bench/simple.mitmproxy
new file mode 100755
index 00000000..9de32981
--- /dev/null
+++ b/test/bench/simple.mitmproxy
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mkdir -p results
+mitmdump -p 10002 --mode reverse:http://devd.io:10001 \
+ -s ./profiler.py --set profile_path=./results/simple.prof