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 221705 - Slow CodeCompletion: MacroExpansionDocProviderImpl.updateMacroTableIfNeeded [14938 ms]
Summary: Slow CodeCompletion: MacroExpansionDocProviderImpl.updateMacroTableIfNeeded [...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-11-08 10:02 UTC by Alexander Simon
Modified: 2014-11-23 13:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194740


Attachments
nps snapshot (780.91 KB, application/nps)
2012-11-08 10:02 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-11-08 10:02:04 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20121108-4f7f1b7123ec)
VM: Java HotSpot(TM) Client VM, 20.8-b03, Java(TM) SE Runtime Environment, 1.6.0_33-b03
OS: SunOS
Maximum slowness yet reported was 14938 ms, average is 14938
Comment 1 Alexander Simon 2012-11-08 10:02:23 UTC
Created attachment 127376 [details]
nps snapshot
Comment 2 Vladimir Kvashin 2012-12-07 10:10:57 UTC
The snapshot shows the following:
MacroExpansionDocProviderImpl.updateMacroTableIfNeeded - 67% self time
CsmCompletionTokenProcessor.token - 16.5% self time
o.n.spi.lexer.TokenFactory.getFlyweightToken - 6% self time