ynput / ayon-applications

AYON addon to maintain applications
Apache License 2.0
4 stars 5 forks source link

Only available applications slowdown #18

Open iLLiCiTiT opened 3 months ago

iLLiCiTiT commented 3 months ago

Current Behavior

When Only available applications is checked (ayon+settings://applications/only_available), discovering of applications is a lot slower in launcher tool. Don't know why but it may slow down discovery by seconds.

BigRoy commented 3 months ago

It's likely because it checks for the existence of the executables for each application, on each task change. We may want to:

However, it even feels slow for the amount of applications. It shouldn't be that slow to just check whether e.g. 200 files exist or not. Maybe each entry application executable may format via Anatomy that gets re-initialized each time.. but that's a wild guess.

BigRoy commented 2 months ago

Just cross-referencing. This came up on discord just now here