Analyzing Code Fragment Performance


When you want to measure the execution time of a single code fragment or method, use Analyze Code Fragment Performance. The value reported is very high levelno details are provided to show self time or other methods that might have been called. The fragment or method to profile can be selected from the Profiling Task dialog box or by selecting Tools | Add as Profiling Code Fragment. Once profiling has begun, you can display either live results or you can look at snapshots of the collected profiling information (shown in Figure 15-12).

Figure 15-12. Analyzing Code Fragment results




NetBeans IDE Field Guide(c) Developing Desktop, Web, Enterprise, and Mobile Applications
NetBeans IDE Field Guide(c) Developing Desktop, Web, Enterprise, and Mobile Applications
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 279

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net