-
Notifications
You must be signed in to change notification settings - Fork 261
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
Massive lag when searching files using the launcher [Performance Issue] #1040
Comments
I also have lag on my installation while typing on the launcher. Additionally, there's a little delay before the launcher shows up when pressing the Super key. |
The new PopOS application launcher is very slow Following are the system details
Following is the graph I generated using
Happy to provide more details and dig deep. |
It seems that the issue is resolved, so for now I'm closing it. |
It's not as bad now, but search is still pretty choppy. As in, there's no more X seconds freeze, but the UI still freezes for a fraction of a second when making a search. And one CPU usage still gets to hit 100% when typing the first few letters: So I end up using the Applications view to open apps and do searches still for now, as it runs smoothly. The part where multiple CPU cores engage on the right of the graph has to do with a file search. |
This is simply the limit of what can be done in JavaScript, on the same GJS (MozJS) process that is also running the entire desktop environment. Only by transitioning to a separated isolated Rust service will we get better performance. |
I see, thanks for the explanation! |
Following my previous comment, a new update made it much more responsive. Now there are no UI freezes anymore, it's really good. Thanks! |
much better now. |
(1) Issue/Bug Description:
After typing "files ste" into the launcher it freezes for a whole minute before displaying results or allowing you to type another letter or exit the launcher. There's probably nothing special about "ste", I may just have a lot of files with that name. I assume it's looking up everything at once instead of giving up after getting enough results (it only displays seven anyways).
(2) Steps to reproduce (if you know):
![20210630_211416_HDR](https://user-images.githubusercontent.com/63356574/124019353-3d100700-d9e9-11eb-8550-459b0f613384.jpg)
Open launcher.
Type:
After a long wait I get this:
(3) Expected behavior:
It shouldn't take so long and make you unable to do anything with your system unless you wait or manage to crash it.
(4) Distribution (run
cat /etc/os-release
):Pop!_OS 21.04
The text was updated successfully, but these errors were encountered: