more printing
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2020-10-22 20:56:35 +02:00
parent c0066bb414
commit 2eaa6de91f
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ fun Application.module(testing: Boolean = false) {
var currUploader: Uploader
environment.monitor.subscribe(ApplicationStarted) {
GlobalScope.launch {
println("Starting benchmark")
println("Starting benchmark setup")
startTime = Instant.now()
while (elapsed < targetTime) {
currIter += 1
@ -37,9 +37,11 @@ fun Application.module(testing: Boolean = false) {
currTimeStamp = Instant.now()
elapsed = Duration.between(startTime, currTimeStamp)
}
println("Starting benchmark")
for (uploader in uploaders) {
uploader.sendRequest()
}
println("Data scrubbing")
for (uploader in uploaders) {
timestamps[uploader.currIteration] = uploader.respInstant
}