r/programming • • Apr 19 '21

Visual Studio 2022

https://devblogs.microsoft.com/visualstudio/visual-studio-2022/
1.9k Upvotes

475 comments sorted by

View all comments

Show parent comments

7

u/salbris Apr 19 '21

How big is your git repository?

2

u/andreasOM Apr 20 '21

147GB. Loading from an onboard NVME on a system with 256GB RAM.
The previous project was ~800GB, and took over 30h to open up.

(And please don't ask. Gigantic mono-repo project that has more legacy in it than all our ages multiplied...)

1

u/salbris Apr 21 '21

Ah so quite the non-typical repo.

1

u/andreasOM Apr 23 '21

I just created a simple "Hello World".
Opening time with git-plugin enabled ~1m35s.
Opening time with git-plugin disabled ~15s.

(Each averaged over 10 tries.)

Paying any overhead for a feature that is not used/needed, and can not be disabled
is just bad software design, or lazy programming, or both.

Why having the plugin enabled (aka not hacked out) is creating such a massive overhead
is a riddle in itself. Even if it did full checksums for the full history of each file
that shouldn't add up to more than 5-10% overhead - if very badly implemented.

(Yes, I am fully aware that the old "windows process creation spins on the main ui-lock" problem,
but if that hits you ... just use a pool like everybody else.)