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 240964

Summary: [80cat] TypeImpl.decorateText [CodeCompletion took 3389 ms.]
Product: cnd Reporter: kosmonaffft
Component: Code ModelAssignee: petrk
Status: STARTED ---    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206965
Attachments: nps snapshot

Description kosmonaffft 2014-01-26 08:25:22 UTC
This issue was reported manually by kosmonaffft.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201401250001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 8

User Comments:
kosmonaFFFt: Invoke completion...



Maximum slowness yet reported was 3389 ms, average is 3389
Comment 1 kosmonaffft 2014-01-26 08:25:24 UTC
Created attachment 144372 [details]
nps snapshot
Comment 2 Vladimir Voskresensky 2014-02-10 15:43:10 UTC
org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.decorateText()	51.5324	1,349 ms (51.5%)	1,338 ms:
 org.netbeans.modules.cnd.modelimpl.csm.DeclTypeImpl.isConst()	37.845154	991 ms (37.8%)	980 ms
 org.netbeans.modules.cnd.modelimpl.csm.DeclTypeImpl.isReference()	13.687245	358 ms (13.7%)	358 ms
Comment 3 Vladimir Voskresensky 2014-02-10 15:48:41 UTC
overload DeclTypeImpl.decorateText? Or cache const/reference on the first resolving?