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 169414

Summary: 38s waiting for end of parsing
Product: java Reporter: dynamite <dynamite>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker CC: bsbc99, misterm, nleck, pawelboguszewski, phejl, pjiricka
Priority: P2 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=154413
Issue Type: DEFECT Exception Reporter: 154413
Attachments: nps snapshot
nps snapshot
nps snapshot

Description dynamite 2009-07-29 08:42:12 UTC
Build: NetBeans IDE Dev (Build 090715)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments:
dynamite: I brought up TaskManager and saw that NB was using a full processor (50% on a core-Duo).  I had just pressed F6 to run my Java application project.  This project mostly contains Groovy classes.


Maximum slowness yet reported was 38953 ms, average is 38953
Comment 1 dynamite 2009-07-29 08:42:17 UTC
Created attachment 85400 [details]
nps snapshot
Comment 2 Exceptions Reporter 2009-08-11 19:36:37 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154413
Comment 3 Jaroslav Tulach 2009-08-12 15:49:31 UTC
AWT thread waits for "runWhenScanningFinished" and scanning takes really long time (due to groovy). I've been told 
that groovy parsing is unlikely to be made significantly faster (bellow 100ms) and as such the only fix is to change 
the action to show some kind of dialog or progress and not block AWT. Reassinging to java as the action comes from 
J2SEActionProvider.
Comment 4 misterm 2009-08-19 17:11:08 UTC
Build: NetBeans IDE Dev (Build 090812)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments: 

Maximum slowness yet reported was 38953 ms, average is 10691
Comment 5 misterm 2009-08-19 17:11:12 UTC
Created attachment 86475 [details]
nps snapshot
Comment 6 Exceptions Reporter 2009-08-19 17:11:18 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154413
Comment 7 Exceptions Reporter 2009-08-26 08:38:39 UTC
Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 

Maximum slowness yet reported was 38953 ms, average is 9686
Comment 8 Exceptions Reporter 2009-08-26 08:38:43 UTC
Created attachment 86670 [details]
nps snapshot
Comment 9 Exceptions Reporter 2009-08-26 08:38:48 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154413
Comment 10 Exceptions Reporter 2009-08-26 12:15:54 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154413
Comment 11 Exceptions Reporter 2009-08-27 18:55:03 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154413
Comment 12 Exceptions Reporter 2009-08-28 21:49:30 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154413
Comment 13 Tomas Zezula 2009-09-08 12:19:36 UTC
There are at least 5 different snapshots.
1) The funniest one has 0ms AWT time
2) Freeform project
3) WebProject
4) The j2seproject (http://www.netbeans.org/nonav/issues/showattachment.cgi/85400/snapshot.nps) time 380ms. There is no problem 
runWhenScanFinished as it shows an Dialog when there is a scan. Most of the time spent in AntTargetExecutor.execute() 246ms.
Closing the report for j2seproject.
Comment 14 Petr Jiricka 2010-01-15 07:57:20 UTC
Now almost 70 duplicates, can we please reevaluate?
Comment 15 Tomas Zezula 2010-02-10 07:14:40 UTC
As I explained above most of the duplicates are wrong. I am going to split it. But it's about 60 reports.
Comment 16 Tomas Zezula 2010-03-19 18:22:59 UTC
Fixed in jet-main 3d1c9faa3166
Comment 17 Quality Engineering 2010-03-24 05:24:29 UTC
Integrated into 'main-golden', will be available in build *201003240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3d1c9faa3166
User: Tomas Zezula <tzezula@netbeans.org>
Log: #169414:38s waiting for end of parsing