Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Schultz, Lucian
lab-grpc
Commits
ff9067ac
Commit
ff9067ac
authored
Mar 02, 2021
by
Nane Kratzke
Browse files
Monitor format
parent
d3d4c68b
Changes
1
Hide whitespace changes
Inline
Side-by-side
grpc/greeter_monitor.py
View file @
ff9067ac
...
...
@@ -37,8 +37,8 @@ def monitor():
rest_s
.
append
(
time
.
time
()
-
start
)
return
", "
.
join
([
f
"gRPC:
{
statistics
.
mean
(
grpc_s
)
*
1000
}
ms"
,
f
"REST:
{
statistics
.
mean
(
rest_s
)
*
1000
}
ms"
,
f
"gRPC:
{
statistics
.
mean
(
grpc_s
)
*
1000
:.
2
f
}
ms"
,
f
"REST:
{
statistics
.
mean
(
rest_s
)
*
1000
:.
2
f
}
ms"
,
f
"n =
{
n
}
"
])
...
...
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