aboutsummaryrefslogtreecommitdiffstats
path: root/test/bench/simple.mitmproxy
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-03-17 10:06:46 +1300
committerAldo Cortesi <aldo@corte.si>2018-03-17 10:06:46 +1300
commitc5ad026cbe21e1dfe1d189dfd7f7f0751b7dbb75 (patch)
treea38d8e14264877e1a9a74d10c8d6770493071833 /test/bench/simple.mitmproxy
parentca75e2738ab9f783cb9a4e675e8353b98eb208fc (diff)
downloadmitmproxy-c5ad026cbe21e1dfe1d189dfd7f7f0751b7dbb75.tar.gz
mitmproxy-c5ad026cbe21e1dfe1d189dfd7f7f0751b7dbb75.tar.bz2
mitmproxy-c5ad026cbe21e1dfe1d189dfd7f7f0751b7dbb75.zip
bench: Add some very simple manual benchmarking helpers
This includes a profiler addon that we might consider for promotion to a builtin down the track.
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