-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
Auto-completion is often very slow #6160
Comments
A solution would be to cache all values, or previously suggested values, if possible. |
Eventually, we'll switch to Search-A-Licious for increased perf, but the backend is not quite ready yet. |
@monsieurtanuki what's the current strategy in terms of keystrokes ? |
I think:
Does that answer your question? |
@monsieurtanuki, we are trying to improve server performance those days, we have created a "priority" server, to isolate search and facets requests (that are slow) in a specific server, so that they don't make every other requests slow. Today I made suggestions goes to the priority server. That said, I think it would be better if, appart from waiting 3 characters:
I don't know what is the current status around that ? Is this the way it already behaves ? Adding some cache is also a good idea, so that if I typed: choco, then chocox, then correct to have choco again, my previous suggestions are shown instanly. But this is more of a strech goal ! As @teolemon already said, we also hope to improve suggestion requests latency soon, using search-a-licious (but soon is not soon enough :-P, unless we get some new hepl) |
Hi @alexgarel!
Not implemented, but makes sense.
I believe it's somehow already implemented, to be confirmed.
I guess we could cache the results, at least at the app session level. (e.g. in static variables) |
What
Steps to reproduce the behavior
This also impacts other parts of the application like the label list, categories, etc.
Expected behavior
To be useful the auto-completion should take a under a second.
Why
Smartphone model
The text was updated successfully, but these errors were encountered: