now we process hard
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-22 02:41:27 +02:00
parent d81339b851
commit afdd1ee4eb
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -31,7 +31,6 @@ fun Application.module(testing: Boolean = false) {
println("Starting benchmark") println("Starting benchmark")
startTime = Instant.now() startTime = Instant.now()
while(elapsed < targetTime){ while(elapsed < targetTime){
println(currIter)
uploader.uploadData(currIter, gson, cachedFile) uploader.uploadData(currIter, gson, cachedFile)
currIter+=1 currIter+=1
currTimeStamp = Instant.now() currTimeStamp = Instant.now()
@ -39,6 +38,7 @@ fun Application.module(testing: Boolean = false) {
elapsed = Duration.between(startTime, currTimeStamp) elapsed = Duration.between(startTime, currTimeStamp)
} }
println("Benchmark ended") println("Benchmark ended")
processResults.mapToProcess = timestamps
processResults.process() processResults.process()
} }
} }