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 31499 - VcsFileSystem.setVirtualDataLoader() degrades performance
Summary: VcsFileSystem.setVirtualDataLoader() degrades performance
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-26 15:16 UTC by Isao Yanagimachi
Modified: 2003-07-15 07:41 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 Isao Yanagimachi 2003-02-26 15:16:14 UTC
vcscore calls the VcsFileSystem.setVirtualDataLoader() per 
every file. VcsFileSystem.setVirtualDataLoader()  in turn 
calls DataLoaderPool.setPreferredLoader(). 
DataLoaderPool.setPreferredLoader() is not efficient in 
that it refreshes parent folder. So if there are 1000
files, there will be 1000 parent folder refreshes. 

This really slows down the performance of generic VCS 
profilers especially the CMS generic VCS profiler pluggin 
from OpenVMS since it is not uncommon for CMS to hold 
thousands of files in a directory.

Related nbdev thread:
http://www.netbeans.org/servlets/ReadMsg?
msgId=397786&listName=nbdev

Isao Yanagimachi
HP
Comment 1 Isao Yanagimachi 2003-02-26 15:18:49 UTC
Related issue :

http://www.netbeans.org/issues/show_bug.cgi?id=31496
Comment 2 Tomas Zezula 2003-03-07 10:02:41 UTC
Fixed
Comment 3 Jiri Kovalsky 2003-07-08 10:15:33 UTC
Can you isao verify that it was really fixed ? Thanks !
Comment 4 Isao Yanagimachi 2003-07-14 20:42:10 UTC
Yes, I verified that it was really fixed.

thanks

/Isao
Comment 5 Jiri Kovalsky 2003-07-15 07:41:59 UTC
Okay, thanks a lot for your help. Verifying ...