Resharper delays VS 2008 start up

Hi,
My machine needs about 2-3 seconds to launch VS 2008. In the VS options I have 'Show empty environment' as start up option. So after these 2-3 seconds I have the IDE fully open. However the IDE is not responding until another 3-4 seconds ellapse. The only thing that I see changing in the IDE after these additional 3-4 seconds ellapse is the Resharper menu added. After the Resharper menu is visible the IDE is fully responsive and ready for use.
Is there anything that can be done?

6 comments
Comment actions Permalink

Hello,

Thank you for the posting this issue. Could you please take a startup snapshot by dotTrace and send it to us for investigation?

In order to get a performance snapshot for ReSharper follow these steps:
1.      Download and install dotTrace profiler from http://www.jetbrains.net/confluence/display/NetProf/4.0+Nightly+Builds (don't integrated it into Visual Studio)
2.      Start dotTrace and choose 'Profile Application'
3.      Point dotTrace to Visual Studio executable (devenv.exe)
4.      Make sure the following options are set:
               Profiling type: Performance profiling
               Tracing profiling
               Record wall time
               Start profiling immediately: on (if you're experiencing performance problems on Visual Studio startup or during solution loading) or off         
               otherwise
5.   Wait while Visual Studio starts
       Press 'Get Snapshot' button on the 'Control Profiling' window
       Save the resulting snapshot
       Please name it

Than you could upload snapshot to ftp://ftp.intellij.net/.uploads/
Upon uploading, you won't be able to see that file there.



Thanks in advance!

Kirill Falk
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Done! The file is called Thread289810.zip

0
Comment actions Permalink

Any ideas? By reviewing a little bit the trace I see some delays regarding licensing.

0
Comment actions Permalink

Hello Dimitris,

Thank you! I've looked at the snapshot and didn't find any particular performance
problem. The licensing is running in a separate thread and 100% of the time
it just waits for input, so it doesn't take any CPU activity and doesn't
slow down the UI. At the moment we consider 3-4 seconds initialization time
for ReSharper normal, so there's no tweak to make it faster.

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Any ideas? By reviewing a little bit the trace I see some delays
regarding licensing.

---
Original message URL:
http://devnet.jetbrains.net/message/5268792#5268792



0
Comment actions Permalink

I which you made all that initialization in a background thread also, in order to have the main IDE UI responsive earlier. :(

0
Comment actions Permalink

Hello Dimitris,

We've spent a lot of time optimizing ReSharper performance and we've put
some of the initialization activities to background thread, but there are
still some things ReSharper needs to do on the UI thread. Thank you!

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I which you made all that initialization in a background thread also,
in order to have the main IDE UI responsive earlier.


---
Original message URL:
http://devnet.jetbrains.net/message/5268871#5268871



0

Please sign in to leave a comment.