Improve performance when working programmes which hold long locks #3801
Open
Description
Ref: https://discord.com/channels/1060193121130000425/1240665967973892187/1242072372916260864
A user reported an issue where they were getting incredibly poor performance when working in a Unity project. It seems like unity will hold a lock on certain scene files for a very long time. This appears to cause problems with our hunk allocation code.
In this particular case, it doesn't appear that the FS watching is the issue, and the User only had a handful of changes.
It seems like this poor performance also caused the user to loose work when making a commit. It would be worth investigating whether this was caused by creating a commit while list_virtual_branches
(and friends) are running