koin-core / org.koin.core.time / measureDuration

measureDuration

fun <T> measureDuration(code: () -> T): Pair<T, Double>

Measure code execution and get result