-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
Summary
UEGitPlugin degrades file write performance, which is an incredibly common operation in Unreal Engine 5. Copying folders with a large amount of files, deleting a large number of files, or even creating large numbers of files in engine while retargeting as an example takes several minutes instead of seconds when UEGitPlugin is enabled.
Steps to Reproduce
- Enable UEGitPlugin
- Copy a folder with 100 untracked files in git from one location to another inside Unreal Engine 5 and note the time to completion
- Disable UEGitPlugin and restart the engine
- Copy the same folder to another location inside Unreal Engine 5 and note the time to completion
- The time difference shows that UEGitPlugin causes degraded performance
- Repeat steps 1-5 for git lfs tracked files and note the same degradation. You can also verify that the degradation occurs for deletion and creation.
Workaround and Next Steps
- You can disable the UEGitPlugin when performing file operations. However, this shouldn't be a requirement. If you forget and have unsaved changes, you might have to wait for an hour for simple operations to finish depending on the size.
- I will help you resolve this issue if you can point me to the logic that handles checking locks and invoking the plugin. My guess is that either the plugin is making a network hop for every single file or some other expensive operation is invoked PER FILE.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels