Slow search with large libraries
Bug #1132575 reported by
Eirik Krogstad
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Noise |
Fix Released
|
Medium
|
Corentin Noël |
Bug Description
Using the search box with a large library (mine is ~25000 songs, 200 GB) is painfully slow. Noise freezes for several seconds with each letter pressed (and 100% CPU on one core). When the string is erased, it freezes for several seconds again. This is comparable to how long it takes to show the library on startup.
The database query should take milliseconds, so the issue is likely with how the list of results is redrawn.
Also, in my opinion, there should always be instantaneous keyboard response at the text input regardless of how efficient this process is (which would probably mean threading).
Changed in noise: | |
status: | Fix Committed → Fix Released |
Changed in noise: | |
milestone: | luna-rc1 → noise-0.2.1 |
To post a comment you must log in.
When running from terminal, I get several thousands of these on search:
[_LOG_LEVEL_FATAL 14:45:33.860454] Noise will not function properly. list_view_ view_value_ func: assertion `m != NULL' failed list_view_ view_value_ func: assertion `m != NULL' failed
[_LOG_LEVEL_FATAL 14:45:33.860540] noise_music_
[_LOG_LEVEL_FATAL 14:45:33.860565] Noise will not function properly.
[_LOG_LEVEL_FATAL 14:45:33.860700] noise_music_
Probably relevant.