measureAndLog

fun <T> measureAndLog(title: String, func: () -> T): T