measureTimeElapsed

fun measureTimeElapsed(function: () -> Unit)