Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
energy
bmon
Commits
eaa44f76
Commit
eaa44f76
authored
Feb 05, 2015
by
Alan Mitchell
Browse files
Timed Chart Request while posting.
parent
f901a1bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
bmsapp/scripts/performance_testing.py
bmsapp/scripts/performance_testing.py
+4
-1
No files found.
bmsapp/scripts/performance_testing.py
View file @
eaa44f76
...
...
@@ -121,7 +121,9 @@ if __name__ == '__main__':
posters
.
append
(
poster
)
poster
.
start
()
time
.
sleep
(
POST_SLEEP
)
time
.
sleep
(
rdg_delay
)
print
results_time
()
time
.
sleep
(
2
)
t_elapsed
=
time
.
time
()
-
tstart
total_reads
=
0
...
...
@@ -129,5 +131,6 @@ if __name__ == '__main__':
p
.
stop_posting
()
total_reads
+=
p
.
reading_count
print
t_elapsed
,
'seconds of posting'
print
'%.1f posts / second'
%
(
total_reads
/
t_elapsed
)
time
.
sleep
(
rdg_delay
*
1.2
)
# wait for threads to exit cleanly?
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