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

Move Kieker scripts to scripts/

parent 8dcf573a
No related branches found
No related tags found
No related merge requests found
......@@ -11,13 +11,13 @@
**/bin/**
frameworks/log_*
results/
frameworks/Kieker/scripts/benchmark/
frameworks/Kieker/scripts/data/
frameworks/Kieker/benchmark/
frameworks/Kieker/data/
frameworks/Kieker/MooBench.jar
frameworks/Kieker/scripts/kieker-*-aspectj.jar
frameworks/Kieker/scripts/receiver/
frameworks/Kieker/kieker-*-aspectj.jar
frameworks/Kieker/receiver/
frameworks/Kieker/results-Kieker/
frameworks/Kieker/scripts/benchmark_*
frameworks/Kieker/benchmark_*
frameworks/SPASSmeter/spassmeter.log
frameworks/SPASSmeter/tmp/
frameworks/SPASSmeter/MooBench.jar
......@@ -40,8 +40,7 @@ frameworks/OpenTelemetry/jaeger-1.24.0-linux-amd64/
frameworks/OpenTelemetry/prometheus-2.28.1.linux-amd64/
frameworks/OpenTelemetry/prometheus-2.28.1.linux-amd64.tar.gz
frameworks/Kieker/scripts/kieker-1.15-SNAPSHOT.jar
frameworks/Kieker/scripts/compile-results/
frameworks/Kieker/compile-results/
tools/getConfidenceIntervalTable/*csv
/.gradle/
/build/
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/MooBench/src/mooBench/benchmark/Benchmark.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="mooBench.benchmark.Benchmark"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-d 10 -h 1 -m 0 -t 10 -o tmp/test.txt -q -a mooBench.monitoredApplication.MonitoredClassManualInstrumentation"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="MooBench"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:frameworks/Kieker/lib/kicker-1.10_aspectj.jar&#13;&#10;-Dkicker.monitoring.debug=true&#13;&#10;-Dkicker.monitoring.skipDefaultAOPConfiguration=true&#13;&#10;-Dkicker.monitoring.writer=kicker.monitoring.writer.filesystem.AsyncFsWriter"/>
</launchConfiguration>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/MooBench/src/mooBench/benchmark/Benchmark.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="mooBench.benchmark.Benchmark"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-d 10 -h 1 -m 0 -t 10 -o tmp/test.txt -q -a mooBench.monitoredApplication.MonitoredClassManualInstrumentation"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="MooBench"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:frameworks/Kieker/lib/kicker-1.10_aspectj.jar&#13;&#10;-Dkicker.monitoring.debug=true&#13;&#10;-Dkicker.monitoring.skipDefaultAOPConfiguration=true&#13;&#10;-Dkicker.monitoring.writer=kicker.monitoring.writer.filesystem.AsyncFsWriter&#13;&#10;-Dorg.aspectj.weaver.loadtime.configuration=META-INF/aop-objectinterfaces.xml"/>
</launchConfiguration>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/MooBench/src/mooBench/benchmark/Benchmark.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="mooBench.benchmark.Benchmark"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-d 10 -h 1 -m 0 -t 10 -o tmp/test.txt -q -a mooBench.monitoredApplication.MonitoredClassManualInstrumentation"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="MooBench"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:frameworks/Kieker/lib/kicker-1.10_aspectj.jar&#13;&#10;-Dkicker.monitoring.debug=true&#13;&#10;-Dkicker.monitoring.skipDefaultAOPConfiguration=true&#13;&#10;-Dkicker.monitoring.writer=kicker.monitoring.writer.filesystem.AsyncFsWriter&#13;&#10;-Dorg.aspectj.weaver.loadtime.configuration=META-INF/aop-objects.xml"/>
</launchConfiguration>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/MooBench/src/mooBench/benchmark/Benchmark.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="mooBench.benchmark.Benchmark"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-d 10 -h 1 -m 0 -t 1000000 -o tmp/test.txt -q"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="MooBench"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:frameworks/Kieker/lib/kieker-1.11-SNAPSHOT_aspectj.jar&#13;&#10;-Dorg.aspectj.weaver.loadtime.configuration=META-INF/kieker.aop.xml&#13;&#10;-Dorg.aspectj.weaver.showWeaveInfo=true -Daj.weaving.verbose=true&#13;&#10;-Dkieker.monitoring.writer=kieker.monitoring.writer.tcp.TCPWriter"/>
</launchConfiguration>
......@@ -16,18 +16,14 @@ else
exit 1
fi
source ../../common-functions.sh
# Only temporary fix: Overwrite Kieker results folder here
RESULTS_DIR=../results-Kieker
RAWFN=$RESULTS_DIR"/raw"
source ../common-functions.sh
getKiekerAgent
# copy receiver
tar -xvpf ${BASE_DIR}/../../../tools/receiver/build/distributions/receiver.tar
tar -xvpf ${BASE_DIR}/../../tools/receiver/build/distributions/receiver.tar
# copy result compiler
tar -xvpf ${BASE_DIR}/../../../tools/compile-results/build/distributions/compile-results.tar
tar -xvpf ${BASE_DIR}/../../tools/compile-results/build/distributions/compile-results.tar
if [ -f "${BASE_DIR}/common-functions" ] ; then
. ${BASE_DIR}/common-functions
......@@ -87,7 +83,7 @@ declare -a RECEIVER
declare -a TITLE
# Configurations
source ../labels.sh
source labels.sh
WRITER_CONFIG[0]=""
WRITER_CONFIG[1]="-Dkieker.monitoring.enabled=false -Dkieker.monitoring.writer=kieker.monitoring.writer.dump.DumpWriter"
WRITER_CONFIG[2]="-Dkieker.monitoring.enabled=true -Dkieker.monitoring.writer=kieker.monitoring.writer.dump.DumpWriter"
......@@ -138,9 +134,9 @@ function execute-experiment() {
BENCHMARK_OPTS="${JAVA_ARGS} ${LTW_ARGS} ${KIEKER_ARGS} ${kieker_parameters}"
fi
echo ${BENCHMARK_OPTS}" -jar ../MooBench.jar"
echo ${BENCHMARK_OPTS}" -jar MooBench.jar"
${JAVABIN}java ${BENCHMARK_OPTS} -jar ../MooBench.jar \
${JAVABIN}java ${BENCHMARK_OPTS} -jar MooBench.jar \
--application moobench.application.MonitoredClassSimple \
--output-filename ${RAWFN}-${loop}-${recursion}-${index}.csv \
--total-calls ${TOTAL_NUM_OF_CALLS} \
......
......@@ -4,7 +4,7 @@
# path setup
JAVA_BIN="java"
RSCRIPT_PATH="../../stats.csv.r"
RSCRIPT_PATH="../stats.csv.r"
DATA_DIR="${BASE_DIR}/data"
AGENT="${BASE_DIR}/kieker-1.15-SNAPSHOT-aspectj.jar"
......@@ -12,6 +12,6 @@ AGENT="${BASE_DIR}/kieker-1.15-SNAPSHOT-aspectj.jar"
BATCH_MODE="yes"
# in-jar locations
AOP="file:"$(pwd)"/../src/META-INF/kieker.aop.xml"
AOP="file:"$(pwd)"/src/META-INF/kieker.aop.xml"
# end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment