Skip to content

Improve performance when working programmes which hold long locks #3801

Open
@Caleb-T-Owens

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

Metadata

Assignees

No one assigned

    Labels

    os:windowsThe Windows platformperformanceApplication is too slowrustPull requests that update Rust code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions