forum

Home / DeveloperSection / Forums / How do I time a method's execution in Java?

How do I time a method's execution in Java?

Anonymous User 1947 07-Aug-2015
How do I get a method's execution time? Is there a Timer utility class for things like timing how long a task takes, etc?

Most of the searches on Google return results for timers that schedule threads and tasks, which is not what I want.

Updated on 07-Aug-2015
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By