From 844e80335caf62907216f562de42d082190455b2 Mon Sep 17 00:00:00 2001 From: David Georg Reichelt <davidgeorg_reichelt@dagere.de> Date: Thu, 19 Aug 2021 19:28:14 +0200 Subject: [PATCH] Add runExponentialSizes for inspectIT --- frameworks/inspectIT/benchmark.sh | 8 ++++---- frameworks/inspectIT/runExponentialSizes.sh | 12 ++++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100755 frameworks/inspectIT/runExponentialSizes.sh diff --git a/frameworks/inspectIT/benchmark.sh b/frameworks/inspectIT/benchmark.sh index 6f7032b..adef31b 100755 --- a/frameworks/inspectIT/benchmark.sh +++ b/frameworks/inspectIT/benchmark.sh @@ -141,8 +141,8 @@ for ((i=1;i<=${NUM_OF_LOOPS};i+=1)); do printIntermediaryResults done -mv ${BASE_DIR}inspectit.log ${RESULTS_DIR}inspectit.log -[ -f ${RESULTS_DIR}hotspot-1-${RECURSION_DEPTH}-1.log ] && grep "<task " ${RESULTS_DIR}hotspot-*.log >${RESULTS_DIR}log.log +mv ${BASE_DIR}/inspectit.log ${RESULTS_DIR}/inspectit.log +[ -f ${RESULTS_DIR}Hotspot-1-${RECURSION_DEPTH}-1.log ] && grep "<task " ${RESULTS_DIR}hotspot-*.log >${RESULTS_DIR}log.log [ -f ${BASE_DIR}errorlog.txt ] && mv ${BASE_DIR}errorlog.txt ${RESULTS_DIR} # Create R labels @@ -150,7 +150,7 @@ LABELS=$(createRLabels) run-r ## Clean up raw results -zip -jqr ${RESULTSDIR}results.zip ${RAWFN}* +zip -jqr ${RESULTS_DIR}/results.zip ${RAWFN}* rm -f ${RAWFN}* -[ -f ${BASE_DIR}nohup.out ] && cp ${BASE_DIR}nohup.out ${RESULTSDIR} +[ -f ${BASE_DIR}nohup.out ] && cp ${BASE_DIR}nohup.out ${RESULTS_DIR} [ -f ${BASE_DIR}nohup.out ] && > ${BASE_DIR}nohup.out diff --git a/frameworks/inspectIT/runExponentialSizes.sh b/frameworks/inspectIT/runExponentialSizes.sh new file mode 100755 index 0000000..d30fc2c --- /dev/null +++ b/frameworks/inspectIT/runExponentialSizes.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +RESULTS_DIR=results-inspectIT/ +mkdir -p $RESULTS_DIR + +for depth in 2 4 8 16 32 64 128 +do + export RECURSION_DEPTH=$depth + echo "Running $depth" + ./benchmark.sh &> $RESULTS_DIR/$depth.txt + mv $RESULTS_DIR/results.zip $RESULTS_DIR/results-$RECURSION_DEPTH.zip +done -- GitLab