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.

Bug 28870 - init of editor kit (even textual) is very time consuming
Summary: init of editor kit (even textual) is very time consuming
Status: CLOSED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 27710 28752
  Show dependency tree
 
Reported: 2002-11-20 10:27 UTC by David Simonek
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace of editor kit creation. There is also the time of kit+options initialization. (Sometimes it is more ;-)) (9.56 KB, text/plain)
2002-12-10 13:46 UTC, Martin Roskanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Simonek 2002-11-20 10:27:02 UTC
As shown in #28752, init of editor is really time
consuming task, equal in time to deserialization
time of all top components on workspace of average
user.
Peter Zavadsky claims that main problem is thet
even only text editor kit is requested, all kits
are fully initialized.
Comment 1 Martin Roskanin 2002-12-10 13:40:11 UTC
Could you be more specific?
If I open txt file in editor, only PlainKit and PlainOptions are
initialized. If I open java file, only JavaKit and JavaOptions are
initialized.

If the several files with different content types are open in editor
and i.e. java file is "selected" (visible in tabbed editor), then only
JavaKit (JavaOptions) is initialized after deserialization during
startup, provided that the file is in the first tab. If not, some
other kits (not all) are also initialized but from stacktrace (that I
am attaching) is clear, that the problem is not in editor module. 



Comment 2 Martin Roskanin 2002-12-10 13:46:50 UTC
Created attachment 8251 [details]
stacktrace of editor kit creation. There is also the time of kit+options initialization. (Sometimes it is more ;-))
Comment 3 Martin Roskanin 2002-12-10 13:50:12 UTC
Additional info to the stacktrace:
second tab, that contained txt file was selected. The first tab was
java file. Third xml file, fourth jsp file...
Comment 4 Martin Roskanin 2003-01-08 13:21:28 UTC
UI responsiveness of first file opening has been already filed as the
issue #27710

As for the problem of all kits initialization, it works OK for me.
Comment 5 Max Sauer 2005-07-13 13:05:55 UTC
This can be closed, as other more specific issues (issue 27710 and other
mentioned there) are taking care of this.