From 7f281ac2be37ef04c331ac9d91a075f29ea57d7b Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 20 May 2015 10:57:01 +0200 Subject: move perf & benchmark scripts into scripts-dir --- voctocore/benchmark.sh | 13 ------------- voctocore/perf.sh | 12 ------------ voctocore/scripts/benchmark.sh | 13 +++++++++++++ voctocore/scripts/perf.sh | 12 ++++++++++++ 4 files changed, 25 insertions(+), 25 deletions(-) delete mode 100755 voctocore/benchmark.sh delete mode 100755 voctocore/perf.sh create mode 100755 voctocore/scripts/benchmark.sh create mode 100755 voctocore/scripts/perf.sh diff --git a/voctocore/benchmark.sh b/voctocore/benchmark.sh deleted file mode 100755 index 58b1b71..0000000 --- a/voctocore/benchmark.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -./voctocore.py & -PID=$! -echo "PID=$PID" -sleep 1 -./scripts/set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null -./scripts/av-source-eevblog.sh >/dev/null 2>/dev/null & -./scripts/av-source-avsync.sh >/dev/null 2>/dev/null & -pidstat -p $PID 1 & -sleep 10 -kill $PID -wait diff --git a/voctocore/perf.sh b/voctocore/perf.sh deleted file mode 100755 index c0013bb..0000000 --- a/voctocore/perf.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -./voctocore.py & -PID=$! -echo "PID=$PID" -sleep 1 -./scripts/set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null -./scripts/av-source-eevblog.sh >/dev/null 2>/dev/null & -./scripts/av-source-avsync.sh >/dev/null 2>/dev/null & -sudo perf top -g -p $PID -kill $PID -wait diff --git a/voctocore/scripts/benchmark.sh b/voctocore/scripts/benchmark.sh new file mode 100755 index 0000000..7b3a72b --- /dev/null +++ b/voctocore/scripts/benchmark.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +../voctocore.py & +PID=$! +echo "PID=$PID" +sleep 1 +./set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null +./av-source-eevblog.sh >/dev/null 2>/dev/null & +./av-source-avsync.sh >/dev/null 2>/dev/null & +pidstat -p $PID 1 & +sleep 10 +kill $PID +wait diff --git a/voctocore/scripts/perf.sh b/voctocore/scripts/perf.sh new file mode 100755 index 0000000..035ec05 --- /dev/null +++ b/voctocore/scripts/perf.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +../voctocore.py & +PID=$! +echo "PID=$PID" +sleep 1 +./set-composite-side-by-side-equal.sh >/dev/null 2>/dev/null +./av-source-eevblog.sh >/dev/null 2>/dev/null & +./av-source-avsync.sh >/dev/null 2>/dev/null & +sudo perf top -g -p $PID +kill $PID +wait -- cgit v1.2.3