Skip to content

Instantly share code, notes, and snippets.

@AkshayChordiya
Created July 5, 2017 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AkshayChordiya/987b07641a85ba370eb505473c7c13c7 to your computer and use it in GitHub Desktop.
Save AkshayChordiya/987b07641a85ba370eb505473c7c13c7 to your computer and use it in GitHub Desktop.
Execution Time in Kotlin
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