time

abstract fun time(label: String = definedExternally)(source)

The console.time() static method starts a timer you can use to track how long an operation takes.

MDN Reference