summaryrefslogtreecommitdiff
path: root/example-scripts/misc/benchmark.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/misc/benchmark.sh')
-rwxr-xr-xexample-scripts/misc/benchmark.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/example-scripts/misc/benchmark.sh b/example-scripts/misc/benchmark.sh
new file mode 100755
index 0000000..70b8cfa
--- /dev/null
+++ b/example-scripts/misc/benchmark.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+../../voctocore/voctocore.py &
+PID=$!
+echo "PID=$PID"
+sleep 1
+../control-server/set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null
+../ffmpeg/source-testvideo-as-cam1.sh >/dev/null 2>/dev/null &
+../ffmpeg/source-testvideo-as-cam2.sh >/dev/null 2>/dev/null &
+pidstat -p $PID 1 &
+sleep 10
+kill $PID
+wait