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.
Summary: | Slow code completion: macro expansion took 24301 ms | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexander Simon <alexvsimon> |
Component: | Code Completion | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | NEW --- | ||
Severity: | normal | CC: | kosmonaffft |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 194735 |
Attachments: | nps snapshot |
Description
Alexander Simon
2012-11-08 09:32:05 UTC
Created attachment 127368 [details]
nps snapshot
Snapshot shows that 3/4 time is in extremely deep recursive calls of two methods calling each other: MacroExpandedToken.getText APTMacroExpansion.getText MacroExpandedToken.getText APTMacroExpansion.getText ... And about 18% is in APTUtils.getExpandedToken which goes into a very deep recursion *** Bug 241123 has been marked as a duplicate of this bug. *** *** Bug 241122 has been marked as a duplicate of this bug. *** *** Bug 235966 has been marked as a duplicate of this bug. *** |