Answers for "java how to get execution time of method"

1

java execution time

long start = System.currentTimeMillis();
class.method();
long time = System.currentTimeMillis() - start;
Posted by: Guest on January-15-2021

Code answers related to "java how to get execution time of method"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language