-
Notifications
You must be signed in to change notification settings - Fork 5
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
System trust filter is slow #684
Comments
It looks like the GTK Time DelayAs far as the time delay goes, it appears that we are already using the GTK built-in delay for searches as described here: https://docs.gtk.org/gtk3/class.SearchEntry.html
https://docs.gtk.org/gtk3/signal.SearchEntry.search-changed.html
In TimingFor a System Trust DB with 35894 entries: 1 Character at a time1 character (35894 -> 34244) ~38 seconds Multiple characters3 Characters (35894 -> 541 files) ~30 seconds |
@jw3 @dorschs57 How would you feel about checking the number of entries in the system trust db when we start the app and if there are more than some threshold (5k?) we display a button where the list is. The button would have text along the lines of "There are a large number of entries in the db. Please begin a search or press this to display all entries". I think this would let us start a search without going through every row to check visibility until there are fewer entries or let the user know performance might suffer. |
Sounds like something that would go with #520 rather than this one.
This sounds familiar. IIRC in gtk3 this cant be changed, in gtk4 it can. If that was a 1 second delay it might make all the difference. Two thoughts.
I am wondering if (1) isn't just the best way until we see what changes as a result of #520. ? |
Addresses slowness in search due to compounding search events by changing the search bar behavior to only begin filtering when `Enter` key is pressed instead of upon any key press. The root cause of the slowness was multiple compounding search events generated by the 150 millisecond keystroke delay. That is now eliminated at the cost of having to press enter to initiate search. Closes #684
The search bar to filter the system trust list is very slow once there are any significant number of entries.
20K entries is a good number for example.
The text was updated successfully, but these errors were encountered: