It takes over 2 minutes to list my ~200 workspaces (without the folder size).
Also careful with benchmarking: files are seemingly cached in memory by Linux (and other OS?) and can be read much faster for the second time.
With the folder size it would probably be hours since vscode somehow created a workspace in the root and home directory.
Ideas on how to improve it:
Promise.all in getWorkspacesAsync
instead of a loading animation until everything is done, render each path as soon as it's available
analyze the file sizes in the background and update each entry separately in the UI when done
It takes over 2 minutes to list my ~200 workspaces (without the folder size). Also careful with benchmarking: files are seemingly cached in memory by Linux (and other OS?) and can be read much faster for the second time.
With the folder size it would probably be hours since vscode somehow created a workspace in the root and home directory.
Ideas on how to improve it:
Promise.all
ingetWorkspacesAsync