I have a Java application which has 6 for loops
. These loops do a massive computation, and the result is very slow. Sometimes, it seems like it is never going to end until you are 100 years old.
I ran Netbeans "profiler" to see which loop is taking more time. Unfortunately, I could not do that, because all the loops are in one single method and the profiler did not point loop by loop performance.
I really need to monitor the performance so I can address the performance issue of each loop individually. But how can I do this with Netbeans "profiler"?
Is there any alternative method that will help?