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: | Slow startup due to loading all editor documents | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Text | Assignee: | Peter Zavadsky <pzavadsky> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | dsimonek, pnejedly, pzavadsky |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 21618 | ||
Bug Blocks: |
Description
Jaroslav Tulach
2002-01-04 13:03:03 UTC
I'd think that displaying "Loading document..." would 1. cause a little slowdown of the actual loading 2. Cause the editor flicker a bit, because the loading of a single file should be quite fast anyway. But one have to try to be sure :-) I find the idea a bit dangerous, definitely needs careful thoughts before we're going to eventually implement it. BTW it's not a bug, just an idea how performance _may_ be improved Trung, this is example of the problem of sitting on two chairs. It was agreed that any performance problem is P2/P3 bug - but of course I understand your desire to improve the bug count. Read issue 21618 Fixed in trunk, see #21618. There is now created the editor pane, only after first time componentShowing method is called. Currently are following times: When restarting IDE with more than one editor components opened, only the selected one is initialized, the saving time is not as big due to issue #23340, it depends how many types of other editors remaing not intialized (there is also some perf gap, XML editor is initialized always at the beginnig even not used) . The whe selecting the other editor component they initialization takes abou 0.2 s, but java 0.6s which I think should be still acceptable. verified |