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 208985

Summary: CodeCompletion took 5976 ms.
Product: editor Reporter: KhArtNJava
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: jpsala, KhArtNJava
Priority: P3 Keywords: PERFORMANCE
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 183308
Attachments: nps snapshot
nps snapshot

Description KhArtNJava 2012-02-29 07:17:10 UTC
This issue was reported manually by KhArtNJava.
It already has 5 duplicates 


Build: NetBeans IDE Dev (Build 201202280400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7
Maximum slowness yet reported was 10548 ms, average is 5014
Comment 1 KhArtNJava 2012-02-29 07:17:14 UTC
Created attachment 116199 [details]
nps snapshot
Comment 2 KhArtNJava 2012-03-19 06:26:17 UTC
Created attachment 116838 [details]
nps snapshot
Comment 3 Tomas Zezula 2012-05-02 16:55:45 UTC
Should be significantly better in NB 7.2 where LayeredIndex was added and the code completion does not do any index write IO.
In the nps files it seems there is still some non needed IO done in scan started.
Comment 4 Tomas Zezula 2012-05-03 12:19:38 UTC
Fixed jet-main 5a9f46a0be47
Comment 5 Quality Engineering 2012-05-05 10:23:22 UTC
Integrated into 'main-golden', will be available in build *201205050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5a9f46a0be47
User: Tomas Zezula <tzezula@netbeans.org>
Log: #208985:CodeCompletion took 5976 ms.