TimeUtils

object TimeUtils
class Object
trait Matchable
class Any

Value members

Concrete methods

def pretty(duration: Long): String

Selects most appropriate TimeUnit for given duration and formats it accordingly

Selects most appropriate TimeUnit for given duration and formats it accordingly

def time[R](block: => R): (R, Long)

Measures elapsed time for executing a block in nanoseconds

Measures elapsed time for executing a block in nanoseconds