diff --git a/frameworks/Kieker/java/benchmark.sh b/frameworks/Kieker/java/benchmark.sh index aff8abbe4613c2bef5e597d741310651f1d83046..d83631c960212ec6c7fe0625f9e20b5508e52adb 100755 --- a/frameworks/Kieker/java/benchmark.sh +++ b/frameworks/Kieker/java/benchmark.sh @@ -92,6 +92,8 @@ checkExecutable moobench "${MOOBENCH_BIN}" checkExecutable receiver "${RECEIVER_BIN}" checkFile aop-file "${AOP}" +showParameter + TIME=`expr ${METHOD_TIME} \* ${TOTAL_NUM_OF_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_OF_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_OF_LOOPS} \* ${RECURSION_DEPTH} + 50 \* ${TOTAL_NUM_OF_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_OF_LOOPS} ` info "Experiment will take circa ${TIME} seconds." diff --git a/frameworks/OpenTelemetry/benchmark.sh b/frameworks/OpenTelemetry/benchmark.sh index 9539f8778ceed35582fa8e07822f5edd1c2d6328..d40550c7af54f62fc88056b4f4468c61b6acd972 100755 --- a/frameworks/OpenTelemetry/benchmark.sh +++ b/frameworks/OpenTelemetry/benchmark.sh @@ -63,6 +63,7 @@ checkExecutable java "${JAVA_BIN}" checkFile R-script "${RSCRIPT_PATH}" checkFile opentelemetry-agent "${AGENT_JAR}" +showParameter TIME=`expr ${METHOD_TIME} \* ${TOTAL_NUM_OF_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_OF_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_OF_LOOPS} \* ${RECURSION_DEPTH} + 50 \* ${TOTAL_NUM_OF_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_OF_LOOPS} ` info "Experiment will take circa ${TIME} seconds." diff --git a/frameworks/common-functions.sh b/frameworks/common-functions.sh index a021fe8c1e7f5bd90127e347ab71a399b06d9293..c87afe7a72ee6026b8f1d30435392076ba335a58 100755 --- a/frameworks/common-functions.sh +++ b/frameworks/common-functions.sh @@ -208,6 +208,20 @@ function checkDirectory() { fi } +function showParameter() { + info "FRAMEWORK_NAME ${FRAMEWORK_NAME}" + info "RESULTS_DIR ${RESULTS_DIR}" + info "RAWFN ${RAWFN}" + info "JAVA_BIN ${JAVA_BIN}" + info "SLEEP_TIME ${SLEEP_TIME}" + info "NUM_OF_LOOPS ${NUM_OF_LOOPS}" + info "THREADS ${THREADS}" + info "RECURSION_DEPTH ${RECURSION_DEPTH}" + info "TOTAL_NUM_OF_CALLS ${TOTAL_NUM_OF_CALLS}" + info "METHOD_TIME ${METHOD_TIME}" + info "DEBUG ${DEBUG}" +} + FRAMEWORK_NAME=$(basename -- "${BASE_DIR}") RESULTS_DIR="${BASE_DIR}/results-${FRAMEWORK_NAME}" RAWFN="${RESULTS_DIR}/raw" diff --git a/frameworks/inspectIT/benchmark.sh b/frameworks/inspectIT/benchmark.sh index 385766f3bec95058bbf6ac2cfdc93a8875ab5cbf..3a668efdd8f28a3dc26517a9059d0441eedadef9 100755 --- a/frameworks/inspectIT/benchmark.sh +++ b/frameworks/inspectIT/benchmark.sh @@ -62,6 +62,7 @@ checkDirectory results-directory "${RESULTS_DIR}" recreate checkExecutable java "${JAVA_BIN}" checkFile R-script "${RSCRIPT_PATH}" +showParameter TIME=`expr ${METHOD_TIME} \* ${TOTAL_NUM_OF_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_OF_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_OF_LOOPS} \* ${RECURSION_DEPTH} + 50 \* ${TOTAL_NUM_OF_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_OF_LOOPS} ` info "Experiment will take circa ${TIME} seconds." @@ -77,8 +78,6 @@ JAVA_ARGS_INSPECTIT_NULLWRITER="${JAVA_ARGS_LTW} -Dinspectit.service-name=mooben JAVA_ARGS_INSPECTIT_ZIPKIN="${JAVA_ARGS_LTW} -Dinspectit.service-name=moobench-inspectit -Dinspectit.exporters.metrics.prometheus.enabled=false -Dinspectit.exporters.tracing.zipkin.url=http://127.0.0.1:9411/api/v2/spans -Dinspectit.config.file-based.path=${BASE_DIR}/config/zipkin/" JAVA_ARGS_INSPECTIT_PROMETHEUS="${JAVA_ARGS_LTW} -Dinspectit.service-name=moobench-inspectit -Dinspectit.exporters.metrics.zipkin.enabled=false -Dinspectit.exporters.metrics.prometheus.enabled=true -Dinspectit.config.file-based.path=${BASE_DIR}/config/prometheus/" -info "RESULTS_DIR: ${RESULTS_DIR}" -info "RAWFN: $RAWFN" writeConfiguration #