class MicroBenchmark<T>
Author
Holger Brandl
<init> |
MicroBenchmark(reps: Int = 25, warmupReps: Int = 10) |
reps |
var reps: Int |
results |
val results: MutableList<BenchmarkResult<T>> |
warmupReps |
var warmupReps: Int |
elapseNano |
fun elapseNano(desc: T? = null, callback: () -> Unit): BenchmarkResult<T> |
printSummary |
fun printSummary(): Unit |