-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
GDScript code completion is extremely laggy on Android Editor #98666
Comments
Just to rule that out from the get go: Are you comparing a self-build Godot editor to the prebuild one from the Website? If so please build 4.4.dev3 yourself to make sure that this is not just an issue with compiler optimization. FYI 4.4.dev3 is built from commit f4af820 . |
I have been regularly testing with the build artefacts from CI after every commit. This behaviour wasn't there in last week's builds. I just mentioned 4.4.dev3 because it is the most recent official build. I also compiled master with |
Ok, on |
Sounds like a performance regression. We use the method to get an icon from a class name for every completion option, so the changes in there are probably to heavy to call for each completion option. This seems like it could impact performance quite a bit: |
#101489 might have had an influence on this. I'm not able to reproduce the issue on my quite recent phone and I can't get a hold of my old low end tablet. Could someone check who is able to reproduce this? |
@777joe Could you please share the hardware specs of your Android device? |
Galaxy tab S6 Lite. Snapdragon 720G, Adreno 618, 4gb ram |
Tried the latest master artifact. Issue is still present on my low end Android device. |
Is #101435 still fixing it for you even after the changes from #101489 ? |
Yes, I applied that patch to master and built the editor apk, and autocomplete doesn't lag anymore. |
Tested versions
Reproducible in build of current master branch - Godot v4.4.dev (8004c75).
Not reproducible in 4.4.dev3 / 4.3 stable
System information
Godot v4.4.dev (8004c75) - Android 14 - Single-window, 1 monitor - Vulkan (Mobile) - integrated Adreno (TM) 618 - (8 threads)
Issue description
GDScript autocomplete is now extremely laggy on the Android editor, with the editor freezing until the code completion dialog appears. The code completion delay and idle auto parse delay are in their defaults.
This does not happen on 4.4.dev3 or earlier.
Steps to reproduce
Just create a gdscript and type anything that prompts auto complete.
Minimal reproduction project (MRP)
None
The text was updated successfully, but these errors were encountered: