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 222291 - Slow CodeCompletion: instantiations and Resolver3 [4923 ms.]
Summary: Slow CodeCompletion: instantiations and Resolver3 [4923 ms.]
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
: 214365 224630 226068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-16 16:47 UTC by Pic
Modified: 2014-01-15 09:25 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179102


Attachments
nps snapshot (70.17 KB, application/nps)
2012-11-16 16:47 UTC, Pic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pic 2012-11-16 16:47:08 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: OpenJDK Client VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24
OS: Linux

User Comments:
GUEST: std::string str;
str.

GUEST: waiting for the popup to show the string's class member functions (C++, standard library)

GUEST: just waiting to see the member of the string class (standard c library)



Maximum slowness yet reported was 7562 ms, average is 4018
Comment 1 Pic 2012-11-16 16:47:10 UTC
Created attachment 127951 [details]
nps snapshot
Comment 2 Vladimir Kvashin 2012-12-07 10:11:48 UTC
Recursive calls to 
Instantiation.NestedType.getClassifier - 72%
NestedType.getNestedClassifier	
NestedType.getClassifier
Resolver3.resolve
etc...
Not very deep recursion
Comment 3 Vladimir Kvashin 2012-12-07 10:52:18 UTC
*** Bug 214365 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Simon 2013-08-16 11:12:06 UTC
*** Bug 224630 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Simon 2013-08-16 11:24:35 UTC
*** Bug 226068 has been marked as a duplicate of this bug. ***
Comment 6 Alexander Simon 2014-01-14 18:54:58 UTC
24 reports => P2
Comment 7 Vladimir Voskresensky 2014-01-15 09:25:41 UTC
It is not reported anymore after introduction of CsmCacheManager