Rider 2020.2 terrible build performance MacOS Catalina
Hi,
I've recently upgraded to the 2020.2 edition of rider and, although it's hard to have proof, I am convinced that build performance has dropped through the floor. I tend to use Visual Studio on windows but every so often swap over to the Mac for additional testing so it's not something I check every day.
I have a multi-project solution (.net 3.1, 49 projects) and I'm convinced this used to build and run in reasonable timeframes before the upgrade to 2020.2. The project takes around 60 seconds to build first time, then without any changes, 35 seconds the second time. Regardless, each time it does a nuget package check and indexing check that takes around 30 secs, before realising nothing has changed and exiting the build (I have the "resharper" build option enabled).
Debugging/running is even worse. We need to start up 8 projects at one to test (backend api / front end UI). This used to be fine, now it takes 6 minutes 25 seconds to start these 8 projects - every time. For each project in the startup configuration Rider is running the same checks - nuget package, indexing which takes 30 seconds each time and then fires up the debugger for each project, which takes additional time.
This is unusable in a day-to-day flow. To make it worse, VS 2019 on Windows starts up in about 45 - 60 secs to debug the same solution.
Something has gone badly wrong as Rider was definitely comparable (if not slightly faster) than VS under Windows.
Any suggestions? I've tried to enable multi-processor build (macbook pro 2015, 16GB RAM, 500GB SSD, quad i7) but it doesn't appear to make much difference.
Please sign in to leave a comment.
Hello Graham,
It looks like you have faced a known issue: RIDER-49125. The issue is fixed, the fix will be included to Rider 20.2.1. We beg your pardon for the inconvenience.
Olga Diakonova Yes, it appears I have hit that bug. Unfortunately, even after the 2020.2.1 patch released today the "slow startup" symptoms remain.
If I choose to start my 8 projects (set up via the Configurations dialog to start at the same time) the "nuget package download" appears to be fixed but the "synchronizing projects" bug (?) on build of each of the start up projects significantly slows down start up time. It still takes a good 3 -4 minutes to start up these 8 projects whereas Visual Studio 2019 running on the same hardware (bootcamp) starts the same 8 projects in about 60 seconds.
Graham, please collect the logs using the following instruction the next time issue occurs and attach them with a new issue on our bug tracker. Thank you in advance!
I am also getting the same issue since upgrading to 2020.2 - not in build just general use has become unusable its so slow. (despite 2019 MacBook Pro 2.4GHz 8-Core I9 32GB). Tried this twice now and both times left it a day (to see if indexing or similar) but both times reverted to 2020.1 which fixed the issue thankfully.
Hello Duncan, if you decide to give 20.2 another chance, please follow the instruction above and attach logs with a new issue on YouTrack, so we could take a closer look and search for a possible reason for slowness.