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.
Build: NetBeans IDE 7.3 Beta (Build 201210011125) VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: Windows 7 User Comments: crimcat: Editing a project with appr. 100M of code GUEST: Right click on method. Maximum slowness yet reported was 62624 ms, average is 41575
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. ***