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.
During my work on issue 49600 and due to extreme number of fileobjects I usually create in a folder I have found out that the masterfs fo's getChildren() does not scale well. I think it is a huge problem. I am going to attach a test and also sample patch that makes the test to pass.
Created attachment 19886 [details] tesilest showing that the time is not linear with # f
Created attachment 19887 [details] Possible fix that replaces iteration over set of FileNames with hashcode lookup
Fixed according to patch (+ verified by attached test). /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/children/ChildrenSupport.java new revision: 1.4; previous revision: 1.3