Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Very slow (tortoise)SVN compare to base since win 10 Fall Creators Update [Local Repo]?

I've noticed an immense delay (just sitting there doing nothing) since upgrading to the latest version of windows while using tortoiseSVN to compare any file to its base version [TortoiseMerge].

I was on the fast track and got the fall creators update about a month ago and noticed this too so i reverted back and it went away. After it hit RTM I thought this was fixed but apparently I was wrong.

What do I mean with very slow?

Before fall creators update: <1 second  After: A minute or 2, as long as it takes..and that's just for comparing 1 file. 

I just go read an article or something and wait for the tortoiseMerge icon to popup in the taskbar.

Repo is on my Desktop - Client is on my Laptop - same network.

Anyone with a similar experience? Did anyone find a workaround?

Edit: The issue has more to do with TortoiseMerge than TortoiseSVN or SVN itself - I switched to Beyond Compare and it is working well for now.

like image 434
AngelicCore Avatar asked Oct 21 '17 05:10

AngelicCore


People also ask

Why is SVN so slow?

The key argument is that SVN due to its support for atomic transactions needs to do many more file operations than CVS in order to ensure integrity. This makes it slower than CVS, especially if there is an on-access virus scanner involved.

How do I speed up SVN?

There are some common performance tweaks. SVN is very I/O heavy, so faster hard disks are an option (on both ends). Add more memory to your server. Make sure your clients have a defragmented hard disk (for Windows).

What is the difference between SVN and TortoiseSVN?

The main difference between SVN and TortoiseSVN is that the SVN is a distributed version control system while TortoiseSVN is an SVN client implemented as a Microsoft Windows shell extension. In brief, SVN is a version control system. On the other hand, TortoiseSVN is a Subversion client.


1 Answers

The issue is already reported to Microsoft and Microsoft fixed in in Visual Studio 2017 15.6 when you recompile your code. Here the fixed MFC without the slow Get/SetPixel is used.

To fix in in Windows 10 for current and older compiled tools which use MFC, Microsoft released the Update KB4058258. The release notes don't mention the fix, but it is confirmed by the reporter that the fix is part of the cumulative update.

So installing the Update should fix it. So if you have the issue, make sure you run at least Build 16299.214 (run winver.exe to see the number).

enter image description here

If you have this or a higher number at last position, the issue should be gone.

The old and outdated information are archived. See the revisions of this answer for the old workarounds.

like image 91
magicandre1981 Avatar answered Sep 22 '22 22:09

magicandre1981