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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SustainKieker
moobench
Commits
072e2b41
Commit
072e2b41
authored
4 years ago
by
David Georg Reichelt
Browse files
Options
Downloads
Patches
Plain Diff
Use renamed NUM_OF_LOOPS parameter
parent
7bce8eb4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
frameworks/inspectIT/benchmark.sh
+7
-7
7 additions, 7 deletions
frameworks/inspectIT/benchmark.sh
with
7 additions
and
7 deletions
frameworks/inspectIT/benchmark.sh
+
7
−
7
View file @
072e2b41
...
@@ -67,7 +67,7 @@ getInspectItAgent
...
@@ -67,7 +67,7 @@ getInspectItAgent
#MOREPARAMS="--quickstart"
#MOREPARAMS="--quickstart"
MOREPARAMS
=
"
${
MOREPARAMS
}
"
MOREPARAMS
=
"
${
MOREPARAMS
}
"
TIME
=
`
expr
${
METHODTIME
}
\*
${
TOTALCALLS
}
/ 1000000000
\*
4
\*
${
RECURSION_DEPTH
}
\*
${
NUM_LOOPS
}
+
${
SLEEPTIME
}
\*
4
\*
${
NUM_LOOPS
}
\*
${
RECURSION_DEPTH
}
+ 50
\*
${
TOTALCALLS
}
/ 1000000000
\*
4
\*
${
RECURSION_DEPTH
}
\*
${
NUM_LOOPS
}
`
TIME
=
`
expr
${
METHODTIME
}
\*
${
TOTALCALLS
}
/ 1000000000
\*
4
\*
${
RECURSION_DEPTH
}
\*
${
NUM_
OF_
LOOPS
}
+
${
SLEEPTIME
}
\*
4
\*
${
NUM_
OF_
LOOPS
}
\*
${
RECURSION_DEPTH
}
+ 50
\*
${
TOTALCALLS
}
/ 1000000000
\*
4
\*
${
RECURSION_DEPTH
}
\*
${
NUM_
OF_
LOOPS
}
`
echo
"Experiment will take circa
${
TIME
}
seconds."
echo
"Experiment will take circa
${
TIME
}
seconds."
echo
"Removing and recreating '
$RESULTSDIR
'"
echo
"Removing and recreating '
$RESULTSDIR
'"
...
@@ -93,10 +93,10 @@ JAVAARGS_INSPECTIT_FULL="${JAVAARGS_LTW} -Dinspectit.config=${BASEDIR}config/tim
...
@@ -93,10 +93,10 @@ JAVAARGS_INSPECTIT_FULL="${JAVAARGS_LTW} -Dinspectit.config=${BASEDIR}config/tim
writeConfiguration
writeConfiguration
## Execute Benchmark
## Execute Benchmark
for
((
i
=
1
;
i<
=
${
NUM_LOOPS
}
;
i+
=
1
))
;
do
for
((
i
=
1
;
i<
=
${
NUM_
OF_
LOOPS
}
;
i+
=
1
))
;
do
k
=
0
k
=
0
echo
"## Starting iteration
${
i
}
/
${
NUM_LOOPS
}
"
echo
"## Starting iteration
${
i
}
/
${
NUM_
OF_
LOOPS
}
"
echo
"## Starting iteration
${
i
}
/
${
NUM_LOOPS
}
"
>>
${
BASEDIR
}
inspectit.log
echo
"## Starting iteration
${
i
}
/
${
NUM_
OF_
LOOPS
}
"
>>
${
BASEDIR
}
inspectit.log
runNoInstrumentation
runNoInstrumentation
cleanup
cleanup
...
@@ -117,7 +117,7 @@ mv ${BASEDIR}inspectit.log ${RESULTSDIR}inspectit.log
...
@@ -117,7 +117,7 @@ mv ${BASEDIR}inspectit.log ${RESULTSDIR}inspectit.log
R
--vanilla
--silent
<<
EOF
R
--vanilla
--silent
<<
EOF
results_fn="
${
RAWFN
}
"
results_fn="
${
RAWFN
}
"
output_fn="
${
RESULTSDIR
}
results-timeseries.pdf"
output_fn="
${
RESULTSDIR
}
results-timeseries.pdf"
configs.loop=
${
NUM_LOOPS
}
configs.loop=
${
NUM_
OF_
LOOPS
}
configs.recursion=c(
${
RECURSION_DEPTH
}
)
configs.recursion=c(
${
RECURSION_DEPTH
}
)
configs.labels=c("No Probe","InspectIT (minimal)","InspectIT (without CMR)","InspectIT (with CMR)")
configs.labels=c("No Probe","InspectIT (minimal)","InspectIT (without CMR)","InspectIT (with CMR)")
configs.colors=c("black","red","blue","green")
configs.colors=c("black","red","blue","green")
...
@@ -130,7 +130,7 @@ EOF
...
@@ -130,7 +130,7 @@ EOF
R
--vanilla
--silent
<<
EOF
R
--vanilla
--silent
<<
EOF
results_fn="
${
RAWFN
}
"
results_fn="
${
RAWFN
}
"
output_fn="
${
RESULTSDIR
}
results-timeseries-average.pdf"
output_fn="
${
RESULTSDIR
}
results-timeseries-average.pdf"
configs.loop=
${
NUM_LOOPS
}
configs.loop=
${
NUM_
OF_
LOOPS
}
configs.recursion=c(
${
RECURSION_DEPTH
}
)
configs.recursion=c(
${
RECURSION_DEPTH
}
)
configs.labels=c("No Probe","InspectIT (minimal)","InspectIT (without CMR)","InspectIT (with CMR)")
configs.labels=c("No Probe","InspectIT (minimal)","InspectIT (without CMR)","InspectIT (with CMR)")
configs.colors=c("black","red","blue","green")
configs.colors=c("black","red","blue","green")
...
@@ -143,7 +143,7 @@ EOF
...
@@ -143,7 +143,7 @@ EOF
R
--vanilla
--silent
<<
EOF
R
--vanilla
--silent
<<
EOF
results_fn="
${
RAWFN
}
"
results_fn="
${
RAWFN
}
"
outtxt_fn="
${
RESULTSDIR
}
results-text.txt"
outtxt_fn="
${
RESULTSDIR
}
results-text.txt"
configs.loop=
${
NUM_LOOPS
}
configs.loop=
${
NUM_
OF_
LOOPS
}
configs.recursion=c(
${
RECURSION_DEPTH
}
)
configs.recursion=c(
${
RECURSION_DEPTH
}
)
configs.labels=c("No Probe","InspectIT (minimal)","InspectIT (without CMR)","InspectIT (with CMR)")
configs.labels=c("No Probe","InspectIT (minimal)","InspectIT (without CMR)","InspectIT (with CMR)")
results.count=
${
TOTALCALLS
}
results.count=
${
TOTALCALLS
}
...
...
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