I'm working on a project for optimizing an existing algorithm. I profiled the code with JIP and VisualVM and got a main bottleneck.
Now I want to see what takes the most time IN the method. What is an easy way to do that? Are there profilers that give me that information or do I need to start timing every step in the method and write it to a file?
EDIT : This should be while the code is running on inputsets
EDIT 2 : The method I'm talking about is called 100million+ times with a total of +/-500 seconds runtime. So every optimisation in the code will have a significant improvement.