0

I want to check what code makes my program run slower or faster, is there a program that can take my code and check what is the runtime? Or are there any other ways to do it? Thank you.

Ishay Frenkel
  • 319
  • 1
  • 3
  • 17
  • 4
    The keyword you're looking for is a [**profiler**](https://www.google.com/search?q=java+profiler). – Adam Rosenfield Jan 10 '15 at 06:47
  • 1
    Also, if you end up writing timing code yourself, be sure to read this: http://stackoverflow.com/questions/504103/how-do-i-write-a-correct-micro-benchmark-in-java – NPE Jan 10 '15 at 06:49

0 Answers0