diff --git a/frameworks/inspectIT/benchmark.sh b/frameworks/inspectIT/benchmark.sh index 6f7032b6217b01c7347deb924a8c5a78f116fefb..adef31b36eb72fb9dfd3d05651d73638a397eb12 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 0000000000000000000000000000000000000000..d30fc2cb3ed7a9933110de78cf66ae5c8cc768ad --- /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