ynput / ayon-applications

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

Only available applications slowdown #18

Open iLLiCiTiT opened 3 weeks ago

iLLiCiTiT commented 3 weeks 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 weeks 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.