summaryrefslogtreecommitdiff
path: root/src/transport/profile_transport.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/profile_transport.sh')
-rwxr-xr-xsrc/transport/profile_transport.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/transport/profile_transport.sh b/src/transport/profile_transport.sh
new file mode 100755
index 000000000..595c993a1
--- /dev/null
+++ b/src/transport/profile_transport.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+C_ITERATIONS=5
+C_MESSAGE_DELTA=1000
+C_MESSAGE_START=23000
+C_MESSAGE_END=65500
+
+#for i in {$C_MESSAGE_START..$C_MESSAGE_END..$C_MESSAGE_DELTA}
+# do
+# echo "Welcome $i times"
+# done
+
+
+for ((cur=$C_MESSAGE_START; cur<=$C_MESSAGE_END; cur = cur + $C_MESSAGE_DELTA))
+{
+ ./gnunet-transport-profiler -p NSGWRTMHG2YJK9KZSTEWKJ5TK20AGRDBWHFA1ZNKKZ7T360MZ8S0 -s -c perf_https_peer1.conf -n 10240 -m $cur -i 4
+ sleep 1
+}