Skip to content
Snippets Groups Projects
Commit 1f6ee547 authored by David Georg Reichelt's avatar David Georg Reichelt
Browse files

Make Kieker benchmark configurable by environment variables

parent 1888f815
Branches
No related tags found
No related merge requests found
......@@ -15,6 +15,9 @@ else
echo "Missing configuration: ${BASE_DIR}/config"
exit 1
fi
source ../../common-functions.sh
if [ -f "${BASE_DIR}/common-functions" ] ; then
. ${BASE_DIR}/common-functions
else
......@@ -190,10 +193,6 @@ function execute-benchmark-body() {
fi
}
function getSum {
awk '{sum += $1; square += $1^2} END {print "Average: "sum/NR" Standard Deviation: "sqrt(square / NR - (sum/NR)^2)" Count: "NR}'
}
function printIntermediaryResults {
for ((index=0;index<${#WRITER_CONFIG[@]};index+=1)); do
echo -n "Intermediary results "$TITLE[$index]" "
......@@ -236,14 +235,6 @@ source("${RSCRIPT_PATH}")
EOF
}
## Clean up raw results
function cleanup-results() {
zip -jqr ${RESULTS_DIR}/results.zip ${RAWFN}*
rm -f ${RAWFN}*
[ -f ${DATA_DIR}/nohup.out ] && cp ${DATA_DIR}/nohup.out ${RESULTS_DIR}
[ -f ${DATA_DIR}/nohup.out ] && > ${DATA_DIR}/nohup.out
}
## Execute benchmark
if [ "$MODE" == "execute" ] ; then
if [ "$OPTION" == "" ] ; then
......
......
......@@ -16,11 +16,4 @@ BATCH_MODE="yes"
# in-jar locations
AOP="file:"$(pwd)"/../src/META-INF/kieker.aop.xml"
# execution parameter
SLEEP_TIME=30 ## 30
NUM_OF_LOOPS=10 ## 10
RECURSION_DEPTH=10 ## 10
TOTAL_NUM_OF_CALLS=2000000 ## 2 000 000
METHOD_TIME=0 #00 ## 500000
# end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment