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 243968 - CodeCompletion took 3591 ms.[createPreprocHandlerFromState() called from EDT by ViewItemNode.isExcluded())
Summary: CodeCompletion took 3591 ms.[createPreprocHandlerFromState() called from EDT ...
Status: CLOSED DUPLICATE of bug 244894
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-04-21 17:53 UTC by kosmonaffft
Modified: 2015-05-28 07:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183748


Attachments
nps snapshot (72.19 KB, application/nps)
2014-04-21 17:54 UTC, kosmonaffft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kosmonaffft 2014-04-21 17:53:58 UTC
This issue was reported manually by kosmonaffft.
It already has 7 duplicates 


Build: NetBeans IDE Dev (Build 201404210001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 8

User Comments:
kosmonaFFFt: Invoke completion.

kosmonaFFFt: Work as usual...

kosmonaFFFt: Work as usual...

martin_seetzen: Debugging using gdb (C++) on a remote machine.
Added a variable as a new watch.



Maximum slowness yet reported was 62873 ms, average is 12281
Comment 1 kosmonaffft 2014-04-21 17:54:00 UTC
Created attachment 146861 [details]
nps snapshot
Comment 2 Vladimir Voskresensky 2014-11-19 12:58:53 UTC
org.netbeans.modules.cnd.makeproject.ui.ViewItemNode.isExcluded()	95.05023	12,325 ms (95.1%)	6,295 ms

org.netbeans.modules.cnd.model.services.CsmCodeAssistanceProvider.hasCodeAssistance()	95.05023	12,325 ms (95.1%)	6,295 ms

calls org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.findFile()	95.05023	12,325 ms (95.1%)	6,295 ms

which does very intensive #include walk from 
org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.createPreprocHandlerFromState()	95.05023	12,325 ms (95.1%)	6,295 ms
Comment 3 Vladimir Voskresensky 2014-11-19 13:00:04 UTC

*** This bug has been marked as a duplicate of bug 244894 ***