This commit is contained in:
parent
d81339b851
commit
afdd1ee4eb
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user