Bug 574147 - [performance] improve FileSystemResourceManager.resourceForLocation
Summary: [performance] improve FileSystemResourceManager.resourceForLocation
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.21   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-11 03:20 EDT by Jörg Kubitz CLA
Modified: 2021-06-11 03:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Kubitz CLA 2021-06-11 03:20:59 EDT
FileSystemResourceManager.resourceForLocation was identified to be slow in bug 564569 / bug 535681
For files=true the algorithm searches currently in all projects for a file. Which is bad if many projects in workspace.
I do not yet understand what the real purpose of FileSystemResourceManager.resourceForLocation is but i got the strong feeling instead of travsersing all projects it should be faster to ask Workspace.getAliasManager().findResources() for all related resources instead.

Am i on the wrong track?