This commit is contained in:
parent
d81339b851
commit
afdd1ee4eb
@ -31,7 +31,6 @@ fun Application.module(testing: Boolean = false) {
|
||||
println("Starting benchmark")
|
||||
startTime = Instant.now()
|
||||
while(elapsed < targetTime){
|
||||
println(currIter)
|
||||
uploader.uploadData(currIter, gson, cachedFile)
|
||||
currIter+=1
|
||||
currTimeStamp = Instant.now()
|
||||
@ -39,6 +38,7 @@ fun Application.module(testing: Boolean = false) {
|
||||
elapsed = Duration.between(startTime, currTimeStamp)
|
||||
}
|
||||
println("Benchmark ended")
|
||||
processResults.mapToProcess = timestamps
|
||||
processResults.process()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user