Skip to content
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

Noticeable freeze after saving a scene #93104

Closed
KoBeWi opened this issue Jun 12, 2024 · 0 comments · Fixed by #93147
Closed

Noticeable freeze after saving a scene #93104

KoBeWi opened this issue Jun 12, 2024 · 0 comments · Fixed by #93147

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Jun 12, 2024

Tested versions

Regression from #77932

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

I noticed that there is a noticeable editor freeze when saving a scene. I did some profiling and it turns out that when you save a scene, it causes EditorFileSystem update, which causes the FileSystem dock to... reload the whole tree.

While previously it wouldn't be that noticeble, it is after #77932.

Here's a comparison in a dev build.
With #77932

godot.windows.editor.dev.x86_64_tpRpT69keo.mp4

Without #77932

godot.windows.editor.dev.x86_64_nZFpWFZHIC.mp4

It's 3 times shorter. Maybe we wouldn't have freeze at all if the FileSystem dock did not decide to update for no reason.

Steps to reproduce

  1. Open a project with many resources (e.g. 2000)
  2. Save a scene

Minimal reproduction project (MRP)

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Release Blocker
Development

Successfully merging a pull request may close this issue.

1 participant