time

suspend fun time(runnable: Runnable): Double

Starts a timer for measuring the duration of an operation without labels.

Return

A double representing the elapsed time in seconds.