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.

Bug 210849 - [72cat] Profiling does not work if method execution takes short amount of time
Summary: [72cat] Profiling does not work if method execution takes short amount of time
Status: RESOLVED INCOMPLETE
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-07 07:21 UTC by crazyjavahacking
Modified: 2012-04-08 10:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crazyjavahacking 2012-04-07 07:21:30 UTC
For both Java SE and Maven Java projects, the profiling does not work if the method execution (overall program execution) takes too short amount of time (on my machine less than 1 or 1.5 seconds).

To reproduce, just create a new Java SE or Maven Java project and do the profiling on template main() methods. I starts collecting results when you will add Thread.sleep(1000/*1500*/);


JDK 7u3, NetBeans Dev 201204050400
Comment 1 J Bachorik 2012-04-08 08:28:12 UTC
Please, provide more details like the profiling configuration (CPU/Memory, sampled vs. instrumented etc.)
Comment 2 crazyjavahacking 2012-04-08 10:08:09 UTC
I just everything by default:

CPU profiling & Analyze performance Quick (Sampled)