diff options
author | MaZderMind <github@mazdermind.de> | 2016-01-06 11:20:17 +0100 |
---|---|---|
committer | MaZderMind <github@mazdermind.de> | 2016-01-06 11:20:17 +0100 |
commit | 38e1c2c0ed63db4053f198aac2c827141cf4fab8 (patch) | |
tree | d96f357bd39ccf0c0262dc512f0a0d74a8909533 /example-scripts | |
parent | 4618c375305bae572cfc198c60e677278792e895 (diff) |
don't rely on ffmpeg and external files for perf & benchmark
Diffstat (limited to 'example-scripts')
-rwxr-xr-x | example-scripts/misc/benchmark.sh | 6 | ||||
-rwxr-xr-x | example-scripts/misc/perf.sh | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/example-scripts/misc/benchmark.sh b/example-scripts/misc/benchmark.sh index 70b8cfa..c60f897 100755 --- a/example-scripts/misc/benchmark.sh +++ b/example-scripts/misc/benchmark.sh @@ -5,8 +5,10 @@ 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 & +../gstreamer/source-videotestsrc-as-cam1.sh >/dev/null 2>/dev/null & +../gstreamer/source-videotestsrc-as-cam2.sh >/dev/null 2>/dev/null & +../gstreamer/source-videotestsrc-as-grabber.sh >/dev/null 2>/dev/null & +../gstreamer/source-videotestsrc-as-background-loop.sh >/dev/null 2>/dev/null & pidstat -p $PID 1 & sleep 10 kill $PID diff --git a/example-scripts/misc/perf.sh b/example-scripts/misc/perf.sh index e347151..c20f10b 100755 --- a/example-scripts/misc/perf.sh +++ b/example-scripts/misc/perf.sh @@ -5,8 +5,10 @@ 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 & +../gstreamer/source-videotestsrc-as-cam1.sh >/dev/null 2>/dev/null & +../gstreamer/source-videotestsrc-as-cam2.sh >/dev/null 2>/dev/null & +../gstreamer/source-videotestsrc-as-grabber.sh >/dev/null 2>/dev/null & +../gstreamer/source-videotestsrc-as-background-loop.sh >/dev/null 2>/dev/null & sudo perf top -g -p $PID kill $PID wait |