Bug 574147

Summary: [performance] improve FileSystemResourceManager.resourceForLocation
Product: [Eclipse Project] Platform Reporter: Jörg Kubitz <jkubitz-eclipse>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: michael.haubenwallner, twolf
Version: 4.21   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=564569
Whiteboard:

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?