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.
An enter in PHP Editor seems to generate 170 disk touches. This is slightly too much and deserves some elimination. More info at http://wiki.netbeans.org/FitnessWithoutTouches
Created attachment 86985 [details] Test to try the counting yourself
http://hg.netbeans.org/web-main/rev/c9601e164cb4 Notes: many touched files are files in userdir(not sources) - index, preferences includes also UI gesture collector touches Fixed: - code containing include, require statements do not touch files until needed - navigator doesn't use index any more - hints may need index but getting PHPIndex involves disk touches even if index isn't used later - so lazy
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c9601e164cb4 User: Radek Matous <rmatous@netbeans.org> Log: performance improvements: minimize disk touches #171337, avoid index reading in structure scanner #171571, hints get index just in case if needed, model cached together with parser result ...
I can verify that the amount of touches is now down to ~32. The rest is caused by mercurial, DiffSideBar and CloneableEditor as described and tracked in issue 171330