Java code execution timing

HI All,
How to capture java code execution time ? I'm learning  Java and solving some heavy match exercises. However except solving them  and improving my JAva programming skills I would like to start making  the code more efficient in terms of execution time.
I tried out  some Profiler plug-ins but non of them works or those that seems to do  the job are not free.I know I can add appropriate time class but really  no plugin for that showing more than just overall time?

Can anyone help ?

Thanks in advance

1 comment
Comment actions Permalink

The best option would be to use a profiler. Consider a paid one if it's really important for the project.


Please sign in to leave a comment.