Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
integration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
integration
Commits
b8e93c9a
Commit
b8e93c9a
authored
3 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
added median to e2eReport.py
parent
cb31f12b
No related branches found
No related tags found
1 merge request
!4
Release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
basice2e/e2eReport.py
+1
-1
1 addition, 1 deletion
basice2e/e2eReport.py
with
1 addition
and
1 deletion
basice2e/e2eReport.py
+
1
−
1
View file @
b8e93c9a
...
@@ -92,7 +92,7 @@ def main():
...
@@ -92,7 +92,7 @@ def main():
rounds_sent
[
successful_round
]
=
True
rounds_sent
[
successful_round
]
=
True
# Print results
# Print results
num_successful
=
0
num_successful
=
0
# Keep track of how many messages were received successfully
total_latency
=
datetime
.
timedelta
()
# Keep track of the total message latencies to calculate a mean
total_latency
=
datetime
.
timedelta
()
# Keep track of the total message latencies to calculate a mean
latencies
=
[]
# Keep track of each message's latency in order to calculate a median
latencies
=
[]
# Keep track of each message's latency in order to calculate a median
for
msgDigest
,
senderDict
in
messages_sent
.
items
():
for
msgDigest
,
senderDict
in
messages_sent
.
items
():
...
...
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