summaryrefslogtreecommitdiff
path: root/tests/scripts/run_benchmark.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/run_benchmark.sh')
-rwxr-xr-xtests/scripts/run_benchmark.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/scripts/run_benchmark.sh b/tests/scripts/run_benchmark.sh
index 6980475b6..e22b40043 100755
--- a/tests/scripts/run_benchmark.sh
+++ b/tests/scripts/run_benchmark.sh
@@ -51,34 +51,6 @@ do
shift
done
-function get_result_of_benchmark_test()
-{
- local RUN_TEST_SH=$1
- local DRIVER_BIN=$2
- local MODEL=$3
- local LOG_FILE=$4
-
- local RET=0
- $RUN_TEST_SH --driverbin=$DRIVER_BIN $MODEL > $LOG_FILE 2>&1
- RET=$?
- if [[ $RET -ne 0 ]]; then
- echo "Testing $MODEL aborted... exit code: $RET"
- exit $RET
- fi
-
- local RESULT=`grep -E '^Mean:' $LOG_FILE | sed -e 's/ms//g' | awk '{print $2}'`
- echo "$RESULT"
-}
-
-function print_result_of_benchmark_test()
-{
- local NAME=$1
- local RESULT=$2
- local RESULT_FILE=$3
-
- echo "$NAME $RESULT" > $RESULT_FILE
-}
-
function run_benchmark_test()
{
local DRIVER_BIN=$BENCHMARK_DRIVER_BIN