1 Reply Latest reply: Jun 14, 2010 5:49 AM by 843798 RSS

    Profiler tools

    843798
      Are there any good tutorials for profiler tools, either for Netbeans IDE or Eclipse ? How exactly does a profiler works?
      Can it give me the lines of a time consuming part of my code? If not, is there any tool that can give me that?
        • 1. Re: Profiler tools
          843798
          As far as I can see, the netbeans profiler can't easily go down to line by line level. You'd have to insert a profile point for each line you wanted to consider.

          jProfiler, a commercial tool, will give you line by line timings, I believe.

          Most c/c++ profilers give line by line information, but I think the expectation is that java code should consist of many short methods rather than a few long monolithic methods. I'm sure it ought to, but I'm too used to my old ways....