Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
8f3673ea
Commit
8f3673ea
authored
Apr 24, 2017
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed parse error
parent
e85ce8ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
DeployService.java
.../main/java/nl/uva/sne/drip/api/service/DeployService.java
+4
-4
No files found.
drip-api/src/main/java/nl/uva/sne/drip/api/service/DeployService.java
View file @
8f3673ea
...
@@ -360,19 +360,19 @@ public class DeployService {
...
@@ -360,19 +360,19 @@ public class DeployService {
}
}
private
Double
getAvgEventsPerThread
(
String
string
)
{
private
Double
getAvgEventsPerThread
(
String
string
)
{
return
Double
.
valueOf
(
string
.
replaceAll
(
"events
(avg/stddev):"
,
""
).
replaceAll
(
"s
"
,
""
).
trim
().
split
(
"/"
)[
0
]);
return
Double
.
valueOf
(
string
.
replaceAll
(
"events
\\(avg/stddev\\):
"
,
""
).
trim
().
split
(
"/"
)[
0
]);
}
}
private
Double
getStddevEventsPerThread
(
String
string
)
{
private
Double
getStddevEventsPerThread
(
String
string
)
{
return
Double
.
valueOf
(
string
.
replaceAll
(
"events
(avg/stddev):"
,
""
).
replaceAll
(
"s
"
,
""
).
trim
().
split
(
"/"
)[
1
]);
return
Double
.
valueOf
(
string
.
replaceAll
(
"events
\\(avg/stddev\\):
"
,
""
).
trim
().
split
(
"/"
)[
1
]);
}
}
private
Double
getAvgExecTimePerThread
(
String
string
)
{
private
Double
getAvgExecTimePerThread
(
String
string
)
{
return
Double
.
valueOf
(
string
.
replaceAll
(
"execution time
(avg/stddev
):"
,
""
).
replaceAll
(
"s"
,
""
).
trim
().
split
(
"/"
)[
0
]);
return
Double
.
valueOf
(
string
.
replaceAll
(
"execution time
\\(avg/stddev\\
):"
,
""
).
replaceAll
(
"s"
,
""
).
trim
().
split
(
"/"
)[
0
]);
}
}
private
Double
getStddevExecTimePerThread
(
String
string
)
{
private
Double
getStddevExecTimePerThread
(
String
string
)
{
return
Double
.
valueOf
(
string
.
replaceAll
(
"execution time
(avg/stddev
):"
,
""
).
replaceAll
(
"s"
,
""
).
trim
().
split
(
"/"
)[
0
]);
return
Double
.
valueOf
(
string
.
replaceAll
(
"execution time
\\(avg/stddev\\
):"
,
""
).
replaceAll
(
"s"
,
""
).
trim
().
split
(
"/"
)[
0
]);
}
}
private
double
getMinExecutionTimePerRequest
(
String
string
)
{
private
double
getMinExecutionTimePerRequest
(
String
string
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment