diff options
-rwxr-xr-x | voctocore/benchmark.sh | 13 | ||||
-rwxr-xr-x | voctocore/perf.sh | 12 | ||||
-rwxr-xr-x | voctocore/scripts/benchmark.sh | 13 | ||||
-rwxr-xr-x | voctocore/scripts/perf.sh | 12 |
4 files changed, 25 insertions, 25 deletions
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 |