Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node Search Cached before First Use #6005

Open
LinasBeres opened this issue Aug 20, 2024 · 1 comment
Open

Node Search Cached before First Use #6005

LinasBeres opened this issue Aug 20, 2024 · 1 comment

Comments

@LinasBeres
Copy link

Summary

It would be great if the node search was cached before the first time it was used.

User story

What

Node search (tab or right click on graph editor) was cached before the first use.

Why

I often open and close gaffer to test certain nodes. In some of these cases I am opening the search in the node editor just once. I've noticed that the first time it is open it takes a while, but consequent times it is much faster. However, due to the nature of how I use gaffer I don't realise the caching that happens after it is loaded. It's at the point where it takes 1 second and is fairly frustrating.

Feature proposal

Caching happen in the background whilst gaffer is opening.

@johnhaddon
Copy link
Member

Have you tested with a vanilla Gaffer install, or one with lots of custom extensions? The search menu opens quickly enough for me on a vanilla install that I suspect it may be a custom extension that is causing a slow menu build. Or perhaps a very extensive set of shader search paths? Before we go to all the complexity of a background pre-caching step I'd like to establish that the problem isn't actually fixable just by speeding up the menu build in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants