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 115944 - DataFolder.getChildren() 1.5-2 times slower in 6.0 than 5.5
Summary: DataFolder.getChildren() 1.5-2 times slower in 6.0 than 5.5
Status: RESOLVED DUPLICATE of bug 114195
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-09-19 02:20 UTC by Viktor Lapitski
Modified: 2008-12-22 10:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Lapitski 2007-09-19 02:20:59 UTC
DataFolder.getChildren() 1.5-2 times slower in 6.0 than 5.5.
I suppose (as i didn't verify that) this can affect GUI responsiveness 
in Java Project tree.
Also this is responsible for 3% regression in UML RE (i did verify that).
The following are timings of DataFolder.getChildren() when 
expanding several first packages of jEdit project:
5.5:
DataFolder.getChildren() 125
DataFolder.getChildren() 234
DataFolder.getChildren() 16
DataFolder.getChildren() 15
DataFolder.getChildren() 125
DataFolder.getChildren() 141
DataFolder.getChildren() 188
DataFolder.getChildren() 31
DataFolder.getChildren() 47
DataFolder.getChildren() 171

6.0:
DataFolder.getChildren() 453
DataFolder.getChildren() 234
DataFolder.getChildren() 31
DataFolder.getChildren() 47
DataFolder.getChildren() 188
DataFolder.getChildren() 187
DataFolder.getChildren() 281
DataFolder.getChildren() 78
DataFolder.getChildren() 125
DataFolder.getChildren() 312
Comment 1 Jaroslav Tulach 2007-09-19 08:11:06 UTC
I would bet the slowdown is caused by increased number of modules and DataLoaders. To verify this, we should compare 
5.5 with 6.0's module.config=j2ee (potentially + apisupport). Would you mind to measure that?

If the comparation of 5.5 and 6.0j2ee shows regression, I am ready to do some fixes, but if not, then there is not 
much to do for 6.0 in openide/loaders. I already have issue 16389 to rewrite the DataLoader model, but that has to 
wait after 6.0.
Comment 2 Viktor Lapitski 2007-09-19 11:14:06 UTC
yes, the bug was specifically filed as a P3, ie. we agree that it can be 
postponed after 6.0, as it is only results in a 3% regression overall. 
I'll update the bug once i do the module.config=j2ee measurements . 
Comment 3 Jaroslav Tulach 2007-09-26 22:41:07 UTC
I guess the issue 114195 is about the same problem as this one.

*** This issue has been marked as a duplicate of 114195 ***