Skip to content

GitHub Desktop gets slow, because of excessive subprocess creation #17193

Closed

Description

@staabm

The problem

when doing pretty simple operations in the github desktop ui, looking at the windows process manager shows a lot of process creation in the background. even just switching branches or pulling changes from a remote repo seem to create tens of processes.

e.g

  • GitHubDesktop.exe
  • conhost.exe
  • git.exe
  • ssh.exe

in our corporation we are forced to use antivirus software (because GDPR) which in turn is scanning all these processes.
I can see github desktop beeing really sluggish because of the anti virus doing its job on all these processes.
its kind of unusable right now, but other software on the same computer works fast enough - working on a high end lenovo thinkpad P1 Gen5 with a 12th i9 gen intel cpu 32 GB Ram etc

I think github desktop would see a major perf boost if it could reduce process usage. maybe there is some low haning fruit in reducing/combining existing stuff so less processes are required..?

Release version

3.2.7 (x64)

Operating system

windows 11 Pro x64 22H2

Steps to reproduce the behavior

  1. do some basic operation in the UI
  2. watch the windows process manager and see subprocesses beeing spawned
  3. see the antiviurs jumpting to the top of the process list while working in github desktop

Log files

No response

Screenshots

grafik

Additional context

we are using Panda Security a WatchGuard antivirus product

Activity

  1. steveward commented on Aug 10, 2023

    @steveward
    Contributor

    Thanks for the report @staabm. We are aware of antivirus software causing these issues. Is there any chance you can whitelist applications? That's the workaround we often recommend.

    We already have a few issues tracking performance so I'm going to close this one out and consolidate it into #13586, which is our most recent issue around performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions