This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 135702 [details] Example program The method timing in the profiling snapshot view seem to be inconsistent at times. This is related to the discussion in the forum: https://netbeans.org/projects/www/lists/nbusers/archive/2013-06/message/123 However the problem here is slightly different. Profiling the attached program with CPU profiler and "profile all classes" results time "0.00ms" for all methods of the example class, including the main() method. The self-timings are much higher, they seem to be a total-time of the Java methods that are shown. For comparison, profiling with "Profile only project classes" results in a much more expected result. I will try to attach screenshots, but there seems to be only one attachment allowed... Note: At first sight, it seems that the profiler gets confused by the "profile all classes". However I suspect that this is a deeper problem (or there may be a second one), because I get very similar issues when profiling my own application, even when profiling only project classes.
Created attachment 135703 [details] Screenshot when profiling all classes
Created attachment 135704 [details] Screenshot when profiling only project classes