From 38e1c2c0ed63db4053f198aac2c827141cf4fab8 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 6 Jan 2016 11:20:17 +0100 Subject: don't rely on ffmpeg and external files for perf & benchmark --- example-scripts/misc/benchmark.sh | 6 ++++-- example-scripts/misc/perf.sh | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'example-scripts/misc') 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 -- cgit v1.2.3