[GH-ISSUE #439] Git AI Windows performance issues #162

Open
opened 2026-03-02 04:12:26 +03:00 by kerem · 7 comments
Owner

Originally created by @ShuboLiang on GitHub (Feb 2, 2026).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/439

Why is it that when I use git-ai to switch branches, pull, push, or perform other operations, it's significantly slower than using native Git? What extra operations is git-ai performing, and how can I resolve these performance issues?

Originally created by @ShuboLiang on GitHub (Feb 2, 2026). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/439 Why is it that when I use git-ai to switch branches, pull, push, or perform other operations, it's significantly slower than using native Git? What extra operations is git-ai performing, and how can I resolve these performance issues?
Author
Owner

@svarlamov commented on GitHub (Feb 2, 2026):

@ShuboLiang Sorry to hear you're running into performance issues! Easiest way to get to the bottom of it would be a quick screenshare if you're available: https://calendly.com/acunniffe/meeting-with-git-ai-authors

Git AI is generally <100ms over normal git, but some operations can take longer (especially if they are network-dependent). We're constantly working on performance improvements, but we would need either concrete steps to replicate the issue (bash scripts are perfect for this) or a call to dig deeper. For large repos, we also have feature flags for async'ing and streamlining certain features of Git AI that we typically enable for users with large monorepos. Looking forward to troubleshooting and resolving these issues for you. Also happy to get in touch over email if that makes sense: sasha@usegitai.com

<!-- gh-comment-id:3832863639 --> @svarlamov commented on GitHub (Feb 2, 2026): @ShuboLiang Sorry to hear you're running into performance issues! Easiest way to get to the bottom of it would be a quick screenshare if you're available: https://calendly.com/acunniffe/meeting-with-git-ai-authors Git AI is generally <100ms over normal git, but some operations can take longer (especially if they are network-dependent). We're constantly working on performance improvements, but we would need either concrete steps to replicate the issue (bash scripts are perfect for this) or a call to dig deeper. For large repos, we also have feature flags for async'ing and streamlining certain features of Git AI that we typically enable for users with large monorepos. Looking forward to troubleshooting and resolving these issues for you. Also happy to get in touch over email if that makes sense: sasha@usegitai.com
Author
Owner

@svarlamov commented on GitHub (Feb 2, 2026):

Also, are you on Windows? Your comment about branch switching in particular being slow is very surprising -- Git AI doesn't do much of anything on that command...

I'm still digging into it, but I have noticed that for some reason Windows seems to be meaningfully slower than MacOS and Linux. My hunch is it's Windows' ~10x overhead for many of the core git access patterns (like exec, etc.). All of the contributors are on either MacOS or Linux, so we just haven't had as much attention to the platform yet. We would love to make it faster with your help!

<!-- gh-comment-id:3832876758 --> @svarlamov commented on GitHub (Feb 2, 2026): Also, are you on Windows? Your comment about branch switching in particular being slow is very surprising -- Git AI doesn't do much of anything on that command... I'm still digging into it, but I have noticed that for some reason Windows seems to be _meaningfully_ slower than MacOS and Linux. My hunch is it's Windows' ~10x overhead for many of the core git access patterns (like exec, etc.). All of the contributors are on either MacOS or Linux, so we just haven't had as much attention to the platform yet. We would love to make it faster with your help!
Author
Owner

@ShuboLiang commented on GitHub (Feb 2, 2026):

@svarlamov Yeah, I'm on Windows. Give me a sec to get the full details—this issue actually happened to my coworker, not me, so I need to check with him first. I’ll get back to you soon. Thanks!

<!-- gh-comment-id:3832935307 --> @ShuboLiang commented on GitHub (Feb 2, 2026): @svarlamov Yeah, I'm on Windows. Give me a sec to get the full details—this issue actually happened to my coworker, not me, so I need to check with him first. I’ll get back to you soon. Thanks!
Author
Owner

@ShuboLiang commented on GitHub (Feb 6, 2026):

@svarlamov My coworker said running Git commands with IDEA's Git GUI is much slower.

<!-- gh-comment-id:3858841214 --> @ShuboLiang commented on GitHub (Feb 6, 2026): @svarlamov My coworker said running Git commands with IDEA's Git GUI is much slower.
Author
Owner

@svarlamov commented on GitHub (Feb 7, 2026):

Can I get some more details here?

  1. OS and jetbrains versions
  2. git-ai version and build (plain OSS or is this a private fork?)
  3. What happens if you run the same git command from terminal in the same repo vs in IDEA
  4. What commands are slow. Can you time the overhead?
  5. Is it slower in all repos (even in an test repo with just a few files/commits?)
<!-- gh-comment-id:3865750436 --> @svarlamov commented on GitHub (Feb 7, 2026): Can I get some more details here? 1. OS and jetbrains versions 2. git-ai version and build (plain OSS or is this a private fork?) 3. What happens if you run the same git command from terminal in the same repo vs in IDEA 4. What commands are slow. Can you time the overhead? 5. Is it slower in all repos (even in an test repo with just a few files/commits?)
Author
Owner

@svarlamov commented on GitHub (Feb 9, 2026):

Also, #493 might help

<!-- gh-comment-id:3868881554 --> @svarlamov commented on GitHub (Feb 9, 2026): Also, #493 might help
Author
Owner

@ShuboLiang commented on GitHub (Feb 9, 2026):

thanks.I will merge to try it.

<!-- gh-comment-id:3868911300 --> @ShuboLiang commented on GitHub (Feb 9, 2026): thanks.I will merge to try it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#162
No description provided.