What is best method to measure execution time of Android code snippet?
I have a section of code before and after which I want to place timestamps to find out it\'s e
I usually use System.nanoTime() for quick Measurement.
System.nanoTime()
A simple Setup like this
val startTime = System.nanoTime() //DO SOMETHING Log.e("Measure", TASK took : " + ((System.nanoTime()-startTime)/1000000)+ "mS\n")