Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moobench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SustainKieker
moobench
Commits
1e421767
Commit
1e421767
authored
3 years ago
by
David Georg Reichelt
Browse files
Options
Downloads
Patches
Plain Diff
Check for moobench.jar existence
parent
072e2b41
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
frameworks/common-functions.sh
+17
-0
17 additions, 0 deletions
frameworks/common-functions.sh
frameworks/inspectIT/benchmark.sh
+2
-0
2 additions, 0 deletions
frameworks/inspectIT/benchmark.sh
frameworks/opentelemetry/benchmark.sh
+2
-16
2 additions, 16 deletions
frameworks/opentelemetry/benchmark.sh
with
21 additions
and
16 deletions
frameworks/common-functions.sh
+
17
−
0
View file @
1e421767
...
...
@@ -12,6 +12,14 @@ function cleanup-results() {
[
-f
${
DATA_DIR
}
/nohup.out
]
&&
>
${
DATA_DIR
}
/nohup.out
}
function
checkMoobenchApplication
()
{
if
[
!
-f
"MooBench.jar"
]
then
echo
"MooBench.jar missing; please build it first using ../gradlew assemble in the benchmark folder"
exit
1
fi
}
function
getKiekerAgent
()
{
echo
"Checking whether Kieker is present in
$AGENT
"
if
[
!
-f
$AGENT
]
...
...
@@ -33,6 +41,15 @@ function getInspectItAgent() {
fi
}
function
getOpentelemetryAgent
()
{
if
[
!
-f
${
BASEDIR
}
lib/opentelemetry-javaagent-all.jar
]
then
mkdir
-p
${
BASEDIR
}
lib
wget
--output-document
=
${
BASEDIR
}
lib/opentelemetry-javaagent-all.jar
\
https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent-all.jar
fi
}
function
createRLabels
()
{
# Create R labels
LABELS
=
""
...
...
This diff is collapsed.
Click to expand it.
frameworks/inspectIT/benchmark.sh
+
2
−
0
View file @
1e421767
...
...
@@ -62,6 +62,8 @@ RESULTSDIR="${BASEDIR}results-inspectit/"
source
../common-functions.sh
checkMoobenchApplication
getInspectItAgent
#MOREPARAMS="--quickstart"
...
...
This diff is collapsed.
Click to expand it.
frameworks/opentelemetry/benchmark.sh
+
2
−
16
View file @
1e421767
...
...
@@ -153,16 +153,6 @@ function printIntermediaryResults {
fi
}
function
downloadOpentelemetry
()
{
if
[
!
-f
${
BASEDIR
}
lib/opentelemetry-javaagent-all.jar
]
then
mkdir
-p
${
BASEDIR
}
lib
wget
--output-document
=
${
BASEDIR
}
lib/opentelemetry-javaagent-all.jar
\
https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent-all.jar
fi
}
JAVABIN
=
""
RSCRIPTDIR
=
r/
...
...
@@ -194,13 +184,9 @@ JAVAARGS="${JAVAARGS} -Xms1G -Xmx2G"
JAVAARGS
=
"
${
JAVAARGS
}
-verbose:gc -XX:+PrintCompilation"
JAR
=
"-jar MooBench.jar"
if
[
!
-f
"MooBench.jar"
]
then
echo
"MooBench.jar missing; please build it first using ../gradlew assemble in the benchmark folder"
exit
1
fi
checkMoobenchApplication
download
Opentelemetry
get
Opentelemetry
Agent
JAVAARGS_NOINSTR
=
"
${
JAVAARGS
}
"
JAVAARGS_OPENTELEMETRY_BASIC
=
"
${
JAVAARGS
}
-javaagent:
${
BASEDIR
}
lib/opentelemetry-javaagent-all.jar -Dotel.resource.attributes=service.name=moobench -Dotel.instrumentation.methods.include=moobench.application.MonitoredClassSimple[monitoredMethod];moobench.application.MonitoredClassThreaded[monitoredMethod]"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment