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.
I've got an NPS file report via email. Here is excerpt from that mail: After enabling self-profiling I have opened file with a class that contains a lot of #ifdef/#if constructions and at the begining of the class I started to add following line: //#ifdef test //#endif In case these lines are added at the end of the class, everything works OK.
Created attachment 90221 [details] Profiler snapshot showing 40s in mobility editor code
After recent chnages, performance is significantly better bu I am still trying to improve it.
I tested the problem on build from Nov 3, 2009 and as far as I can tell the problem seems to be fixed. I can type whatever (including //#ifdef) at begining of the file without any noticable delays.
The bug is not reproducible after latest fixes