Project

General

Profile

Story #8779

ForesiteResourceMap performance issue

Added by Rob Nahf about 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
d1_indexer
Target version:
Start date:
2019-03-14
Due date:
% Done:

0%

Story Points:

Description

Profiling reveals that much time is spent in IndexVisibilityDelegate, and it seemingly is called twice unnecessarily, first in _init, second in getAllResourceIDs().

This class in general is not well documented and has some confusing traversal code, so it is difficult to assess what exactly is going on. It also seems to be a misleading encapsulation of data, in that it attempts to filter out resource map members based on current system metadata properties (archived or not), but that's not mentioned at all in the sparse javadocs.

the code needs to be reviewed to make sure no unnecessary calls are made.
If resource map checking (for completeness) is not going to be done anymore, this class probably should be deprecated or removed.

History

#1 Updated by Rob Nahf almost 5 years ago

  • Assignee changed from Dave Vieglais to Rob Nahf

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)