zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
173 stars 92 forks source link

Consolidate profile facilities and improve caching efficiency #3307

Open traeok opened 2 days ago

traeok commented 2 days ago

Is your feature request related to a problem? Please describe.

Potentially related: #2577 #3303

Describe the solution you'd like

We should reduce the amount of times we read from disk when using the ProfilesCache facility. We also should cache more information in the profiles cache, or at least cache both the ProfilesCache and ProfileInfo instances, re-using them wherever possible.

Describe alternatives you've considered

We can continue to use the facilities available in the codebase, but the issue of excessive profile I/O operations and the scattered function implementations will continue to fester until it becomes a primary bottleneck in some Zowe Explorer actions/operations.

github-actions[bot] commented 2 days ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 10 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.