Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
misc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
misc
Commits
a17a54d7
Commit
a17a54d7
authored
Apr 27, 2016
by
Elvis Pranskevichus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
77feb65a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
echo_client
echo_client
+1
-1
http_client
http_client
+1
-1
run_benchmarks
run_benchmarks
+1
-1
No files found.
echo_client
View file @
a17a54d7
...
...
@@ -185,7 +185,7 @@ if __name__ == '__main__':
{messages} {size}KiB messages in {duration} seconds
Latency: min {latency_min}ms; max {latency_max}ms; mean {latency_mean}ms;
\
std: {latency_std}ms ({latency_cv}%)
Latency distribtion: {latency_percentiles}
Latency distrib
u
tion: {latency_percentiles}
Requests/sec: {rps}
Transfer/sec: {transfer}MiB
'''
.
format
(
duration
=
DURATION
,
size
=
round
(
MSGSIZE
/
1024
,
2
),
**
data
)
...
...
http_client
View file @
a17a54d7
...
...
@@ -100,7 +100,7 @@ if __name__ == '__main__':
{messages} {size}KiB messages in {duration} seconds
Latency: min {latency_min}ms; max {latency_max}ms; mean {latency_mean}ms;
\
std: {latency_std}ms ({latency_cv}%)
Latency distribtion: {latency_percentiles}
Latency distrib
u
tion: {latency_percentiles}
Requests/sec: {rps}
Transfer/sec: {transfer}MiB
'''
.
format
(
duration
=
args
.
duration
,
size
=
round
(
args
.
msize
/
1024
,
2
),
**
data
)
...
...
run_benchmarks
View file @
a17a54d7
...
...
@@ -358,7 +358,7 @@ def main():
output
=
textwrap
.
dedent
(
'''
\
{messages} messages in {duration} seconds
Latency: min {latency_min}ms; max {latency_max}ms; mean {latency_mean}ms; std {latency_std}ms ({latency_cv}%);
Latency distribtion: {latency_percentiles}
Latency distrib
u
tion: {latency_percentiles}
Requests/sec: {rps}
Transfer/sec: {transfer}MiB
'''
).
format
(
duration
=
duration
,
**
format_data
)
...
...
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