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

"pieces search "print"" taking a long time to resolve on a large snippet database #30

Open
mark-at-pieces opened this issue Feb 8, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mark-at-pieces
Copy link
Member

for first touch it looked like search was not resolving but then I realized it took a very long time, wonder if we should take a look into performance here:

specifically will want to show the results as soon as possible then fetch on the fly.

**ALSO Note: will want to verify that we are running the search w/ transferables=FALSE

@mark-at-pieces mark-at-pieces added the bug Something isn't working label Feb 8, 2024
@hal-8999-alpha
Copy link
Contributor

Hmm. The default search is fuzzy so I assume that may be linear and that you have a lot of assets.

And yes, transferables=FALSE throughout the entire app.

@mark-at-pieces
Copy link
Member Author

I can send over the response times, they are sub second responses, so has to do with the fetching on the plugin side

@mark-at-pieces
Copy link
Member Author

so basically to ensure this is as fast as possible you return the minimum information to the client, and then only fetch the additional data if and only if they are digging deeper into the asset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants