measureTime

inline fun measureTime(callback: () -> Unit): TimeSpan

Executes a callback and measure the time it takes to complete.


inline fun <T> measureTime(callback: () -> T, handleTime: (TimeSpan) -> Unit): T