Created
July 5, 2017 14:44
-
-
Save AkshayChordiya/987b07641a85ba370eb505473c7c13c7 to your computer and use it in GitHub Desktop.
Execution Time in Kotlin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val executionTime = measureTimeMillis { | |
// Do your task | |
} | |
println("Execution Time = $executionTime ms") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment