measureTimeMillis

JVM
Native
1.0
inline fun measureTimeMillis(block: () -> Unit): Long

Executes the given block and returns elapsed time in milliseconds.