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 CodeCompletion: massive #include processing [20527 ms] | ||
---|---|---|---|
Product: | cnd | Reporter: | crimcat <crimcat> |
Component: | Code Completion | Assignee: | Vladimir Kvashin <vkvashin> |
Status: | NEW --- | ||
Severity: | normal | CC: | exceptions_reporter, kosmonaffft, nicolas.tappret, soldatov |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 174605 |
Bug Depends on: | 220741 | ||
Bug Blocks: | |||
Attachments: | nps snapshot |
Description
crimcat
2012-10-23 17:48:53 UTC
Created attachment 126402 [details]
nps snapshot
Regression introduced while fixing bug #194236. Change set: http://hg.netbeans.org/main/rev/1c4b038dbbe7 added an unneeded canonization of path in method: APTIncludeUtils.resolveFilePath() I would say that it's rather http://hg.netbeans.org/cnd-main/rev/9a29da42d9d2 who introduced call to FileUtils.normalize (which on Windows in fact canonicalizes file). But I would state the problem differently. What snapshot shows me is that 99% time is spent in macro expansion, which in turn invokes massive recursive headers traversal. This operation is slow even without normalization. User filed it as a P3 bug, and I see no evidence it occurs frequent enough to make it P2. Downgrading to P3. The root cause will be gone as soon as document preamble is implemented *** Bug 221698 has been marked as a duplicate of this bug. *** *** Bug 214672 has been marked as a duplicate of this bug. *** *** Bug 225425 has been marked as a duplicate of this bug. *** *** Bug 225543 has been marked as a duplicate of this bug. *** *** Bug 220382 has been marked as a duplicate of this bug. *** 109 reports => P2 *** Bug 240970 has been marked as a duplicate of this bug. *** *** Bug 241909 has been marked as a duplicate of this bug. *** *** Bug 243718 has been marked as a duplicate of this bug. *** |