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 222805

Summary: [73cat] CodeCompletion took 3025 ms.
Product: projects Reporter: misterm <misterm>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 195745
Attachments: nps snapshot

Description misterm 2012-11-27 10:27:04 UTC
This issue was reported manually by misterm.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20121126-0a26cdb355e6)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7
Maximum slowness yet reported was 3025 ms, average is 3025
Comment 1 misterm 2012-11-27 10:27:07 UTC
Created attachment 128436 [details]
nps snapshot
Comment 2 Milos Kleint 2012-11-27 12:51:31 UTC
https://hg.netbeans.org/core-main/rev/b58cf7b9ae02

makes sure there is only one evaluator created per MavenProject instance with the same lifecycle. that should improve the speed of the only obvious bottleneck place.

The rest appears to be contributed to by native IO processing..
Comment 3 Quality Engineering 2012-11-29 02:33:17 UTC
Integrated into 'main-golden', will be available in build *201211290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b58cf7b9ae02
User: Milos Kleint <mkleint@netbeans.org>
Log: #222805 cache expression evaluator in MavenProject instance, both have the same lifecycle. if project gets reloaded a new evaluator will be created, otherwise we will reuse the same one all over again.