Why is Rider so slow to load and be ready for user the first time its opened after reboot?

Answered

I am using the latest Rider version 2018.3.2 and it takes almost 10 minutes to load and be ready to use after I have rebooted my computer.

On the other Visual Studio 2017 Community Edition version 15.9.6, which is the latest version, takes only a minute to fully load and be ready for use. Resharper extension is enabled in Visual Studio.

Is this long loading time normal for Rider? 

 

13 comments

Hello!
Do I understand correctly that it takes 10 minutes until your solution is loaded? If so, this bug is fixed and the fix will be available in 2018.3.3.

https://youtrack.jetbrains.com/issue/RIDER-22652

But if you meant splash hanging until Welcome Window is shown, I would ask you to collect profiling snapshots and create a new issue in our tracker. 

To make a snapshot:
1. Open Rider and go to the menu "Help | Edit Custom VM Options"
2. At the end of the opened file add the following:
agentlib:yjpagent64=sampling
3. Save and close Rider.
4. Open Rider and Wait until it is ready.
5. After the startup completed close Rider.
6. Check your user's home directory (on Windows: C:\Users\SUNIL). A folder Snapshots should appear with .snapshot file inside.
7. Share this file with us.

Please share idea.log as well (Help | Show Logs in Explorer).

0

It's actually both. The rectangular purplish splash screen is on for a very long time and then when the IDE opens it takes again very long to load the solution and be ready for development.

0

Hello Sunil!
Thank you for the information.
Could you please try disabling Android plugin in (File | Settings | Plugins -> Installed tab -> untick "Android Support for Rider") and check if IDE became faster without it?

And the earlier requested information would be helpful.

If you create an issue on youtrack, please leave a link here.

0

I my case it is taking 10 to 20 seconds, which find slow in comparison to Visual Studio, which takes about 2 or 3 seconds to load.

I disabled all plugins that I do not use, which saved about 1 second. Is there anything else I can do?

0

I've seen something similar.  I'm on a fast computer (10 core) with a fast SSD (Samsung NVMe 960) on win 10, and after a reboot it'll take rider 15 to 30 seconds for the splash screen to show.  Long enough I wonder if it's going to start, and sometimes I'll click again and end up with duplicate copies.

Once it's started the first time, subsequent loads are much quicker.

0

I am a potential new customer and after installing Rider I have the same thing.

 

My system takes 12 seconds (including Bios delay) to boot up, Unity takes about 12 Seconds to startup, Visual Studio about 6 seconds.

Rider Takes over 1 Minute ! (About half way (30s) the bootscreen shows then its an other long wait.

Looking at the task manager it is not the Drive (could not have been as i have a very fast onboard SSD)

its all due to the CPU usage. Not only that but i also notice Microsoft Defender spiking at the same time.

It may be the reason it takes forever to get Rider from starting up.

An other reason may be some Riders decrypting a bunch of data for protecting usage or something.

So not sure if after buying Rider this slow startup will be gone. But I am not willing to try.

 

0

@A_Wittenberg: I can tell you that it will not be solved by buying it.

0

Hi there!

Could you please capture Rider snapshots to profile the startup process?
To do that:
1. Open Rider and go to the menu "Help | Edit Custom VM Options"
2. At the end of the opened file add the following:

for windows/linux

-agentlib:yjpagent64=sampling

for mac

-agentlib:yjpagent=sampling


3. Save and close Rider.
4. Open Rider
5. After the startup completed close Rider.
6. Check your user's home directory (for example on Windows: C:\Users\Sofia.Byzova). A folder Snapshots should appear with .snapshot file inside.
7. Share this file with us via https://uploads.services.jetbrains.com/ and let me know the exact file name.

Also, please clarify your Rider versions.

0

You forgot a step:  after step 3, you have to reboot to see the behavior.  The second startup is much faster.  Are we seeing JVM VM setup time?

Here's the snapshot info.

File uploaded: robert-rider64.exe-2019-03-22-shutdown.zip.

I’m using jetbrains toolbox on windows, so should have the latest version. Here’s the help dialog box info:

JetBrains Rider 2018.3.3
Build #RD-183.5619.41, built on February 8, 2019
****
You have a perpetual fallback license for this version
Subscription is active until February 18, 2020
JRE: 1.8.0_152-release-1343-b26 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Windows 10 10.0

0

Good news! I could not test it earlier today because i was not home but it turned out my first remarks where on the spot.

Its Windows defender that is slowing Rider down. I have excluded the Jetbrains folder and rider64.exe process in the Windows defender settings.

So before the exclusion it took (I timed it this time) 1m20.23 seconds

After setting the Windows defender exclusions and a restart Rider now takes 10.34 seconds

To bad there is no price to win as I would have loved to win a free Rider year ;-)

2

Oh just in case this are my system specs. (Not that it matter much now)

0

It did speed it up a bit but still way slower then visual studio 2019.. this is windows 10. I love rider on mac though.. and it is quite a bit faster on mac too.

0

Please sign in to leave a comment.