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.
At parsing time method APTFileMacroMap.getMacro() is a hot spot. For example: - core of opensolaris 34% - boost 22% Improve the method performance.
For me it is more P2 about responsiveness, than P4 about raw parsing, because APTFileMacroMap.getMacro() affects responsiveness during editing. Fixing it can give us 3 times faster reparse of currently being edited file. Please, evaluate once more
fixed in release65_cnd_freeze, change sets: http://elif.russia.sun.com/hg/release65_cnd_freeze/rev/dd600aebba33 http://elif.russia.sun.com/hg/release65_cnd_freeze/rev/60f1351129f4 Improved 20% parser performance. Improved 66% parser performance on huge files (30,000 lines, for example ip.c from opensolaris kernel).
fix is safe and correct.
No new problems in 'Inaccuracy' tests with this fix
This bug needs to be integrated into 6.5, because it is base for SunStudio IDE which is the IDE used for big projects and performance on big files is very critical
Performance of parsing gets improved for large projects.
fixed in main trunk, change set: http://hg.netbeans.org/main/rev/8816f16a43ea
Integrated into 'main-golden', will be available in build *200810140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8816f16a43ea User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed: IZ#149737:low performance of APTFileMacroMap.getMacro()
additional fix, change set: http://hg.netbeans.org/main/rev/2f73fea10407 fix improved parsing performance of kernel of opensolaris project on 5%.
Integrated into 'main-golden', will be available in build *200810210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2f73fea10407 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed: IZ#149737:low performance of APTFileMacroMap.getMacro() - additional fix (improve performance on 5%)