koin-core / org.koin.core.time

Package org.koin.core.time

Functions

measureDuration

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

Measure code execution and get result

measureDurationOnly

fun measureDurationOnly(code: () -> Unit): Double

Measure code execution