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 232746 - org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinished: LowPerformance took 20097 ms.
Summary: org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.runWhenScanFinis...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-07-15 20:51 UTC by chucklowery
Modified: 2013-08-15 09:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 199778


Attachments
nps snapshot (55.09 KB, application/nps)
2013-07-15 20:51 UTC, chucklowery
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chucklowery 2013-07-15 20:51:47 UTC
Build: NetBeans IDE 7.3 (Build 201306052037)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
chucklowery: Switching between windows

stefan79: Started the debugger.



Maximum slowness yet reported was 28993 ms, average is 12144
Comment 1 chucklowery 2013-07-15 20:51:49 UTC
Created attachment 137155 [details]
nps snapshot
Comment 2 Tomas Zezula 2013-07-17 17:30:05 UTC
JunitMethodDebuggerProvider.getTestMethod() does parsing in EDT.
The JS.runWhenScanFinished() schedules asynchronously when scan it needs to wait for scan to finish but synchronously to other JS.runWhenScanFinished()  or The JS.runUserActionTask().
Comment 3 Theofanis Oikonomou 2013-08-15 09:52:20 UTC
This should be fixed by http://hg.netbeans.org/main-golden/rev/7cbe1576bbb0. It will be available in 7.4. Please try a latest build and reopen if it does not work for you. Thank you