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 28122 - Make JavaDataObject initialization faster
Summary: Make JavaDataObject initialization faster
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2002-10-18 16:28 UTC by _ rkubacki
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2002-10-18 16:28:20 UTC
There are some places in current project prototype
where the performance is not good. 

Running with Analyzer reveals that
JavaDataObject.init spents more than 50% of its
time in o.n.a.projects.Project.findAll(). Almost
20% percent of time is also spent in
o.o.nodes.CookieSet.add
Comment 1 Svata Dedic 2003-01-07 13:08:18 UTC
I don't know whether it is possible to reduce the time spent on
CookieSet initialization. Maybe trashing CookieSet at all and coding
all the stuff manually would help -- but not much as the types would
be all loaded at first unsuccessful call to getCookie().

findAll() usages will be eliminated (hopefully) soon.
Comment 2 Tomas Pavek 2003-05-28 17:17:42 UTC
Is this still valid issue? Isn't the problem already eliminated/solved?
Comment 3 Vitezslav Stejskal 2003-06-09 17:01:41 UTC
I think this is fixed, the JavaDataObject doesn't call Project.findAll
anymore as the project related stuff was moved to the environment
provider registered by java-project nature for text/x-java files.
Event the CookieSet is more lightweight now since it provides only
project independent stuff.
Comment 4 Jan Becicka 2003-11-25 14:01:26 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 5 Jan Becicka 2003-11-25 14:10:05 UTC
---> CLOSED