timed

inline fun <T> timed(operation: String, block: () -> T): T

Execute a block and record its timing.