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 18446 - VcsFilesystem annotations are too CPU intensive
Summary: VcsFilesystem annotations are too CPU intensive
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2001-12-07 12:36 UTC by Petr Nejedly
Modified: 2003-07-01 12:56 UTC (History)
0 users

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 Petr Nejedly 2001-12-07 12:36:03 UTC
During expansion of folder on Vcs filesystem, lot of time is spent
querying for annotations on filesets.

It is primarily caused by FS lookig up all the DOs for the FOs in the set
where most of the FOs are secondary files of a single DO.

It can be greatly improved by eliminating unimportant FOs at first,
as they are not used in the annotation computation anyway (they are filtered
later).

Moreover, if there will be just one FO left (common case), the DO lookup
can be skipped completly.
Comment 1 Martin Entlicher 2001-12-07 13:01:23 UTC
Good point. Thanks.
Comment 2 Martin Entlicher 2001-12-07 13:08:29 UTC
Fixed in the main trunk and release33 branch.
Comment 3 Petr Nejedly 2001-12-07 13:40:55 UTC
Verified, it was fast :-)
Comment 4 Quality Engineering 2003-07-01 12:56:30 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.