fun measure(message: String, block: () -> Unit): Unit
(source)fun measure(message: String, block: () -> Unit): Unit
(source)
Measure the time it takes to execute the provided block and print a log message before and after executing the block.
Example log message: ⇢ doSomething() .. ⇠ doSomething() 12ms