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: | Enter in PHP editor generates ~170 disk touches | ||
---|---|---|---|
Product: | php | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Editor | Assignee: | rmatous <rmatous> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | issues, pjiricka |
Priority: | P2 | Keywords: | PERFORMANCE, TEST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Test to try the counting yourself |
Description
Jaroslav Tulach
2009-09-02 16:57:51 UTC
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 |