How to collect a ReSharper performance snapshot in Visual Studio

Collect a performance snapshot

  1. In Visual Studio, go to (Extensions) | ReSharper | Help | Profile Visual Studio.
  2. Next to Attachments, click + and select Performance Snapshot (Timeline). Profiling starts.

  3. Reproduce the slowdown.
  4. Click Stop profiling. The snapshot is added to Attachments.

  5. In Subject and Description, say which action is slow and how long it takes.
  6. Optional: click change account and select Browser authentication. The report is then not anonymous, and the ReSharper team can contact the reporter for more details.
  7. Click Submit.

To record again, click the delete icon next to the snapshot and repeat steps 2 to 4.

Collect a snapshot of a slow startup

If Visual Studio is slow at startup, collect the snapshot with standalone dotTrace and the Collect profiling data from start option, as described in ReSharper Profiling Instructions.

Upload the snapshot manually if Submit fails

If the upload fails after Submit, for example because the local network blocks it, upload the snapshot file manually:

  1. Under Attachments, right-click the snapshot.
  2. Select Open file location.
  3. Upload the file to JetBrains Uploads.
  4. Send the upload ID to the ReSharper support team.
1 out of 9 found this helpful
12 comments

I tried to do this, but got Internal Server error in Feedback center dialog. Anyway, snapshot was got.

 

0
Avatar
Permanently deleted user

Tried this, but the moment that ReSharper is causing issues it is almost impossible to start the profiler since all of Visual Studio 2017 becomes unresponsive. Then the system fails to start the profiler... so in the end I need to quit VS via task manager in order to get a working IDE again. Seems to have to do with the parsing of TypeScript files. It can work for hours and then with something simple like checking a tooltip it suddenly hangs up. Other times it takes 5+ sec for the editor to respond to a single typing action... Am long term user of R# but never had anything like this frustrating behaviour with VB or C# projects.

 

8

I have had issues doing this procedure because what is going wrong is that Visual Studio takes a long time to initialize after I first click on its icon to start the IDE in the first place.  I can't profile Visual Studio with the ReSharper-provided tool for this scenario, because when I open Visual Studio, wait for it to finish initializing, click the ReSharper menu, and then click Profile Visual Studio and then click on the tool, the scenario I want to test is the initial open/load of Visual Studio.  Well, so this means I have to exit the Visual Studio IDE and close devenv.exe.  And then re-click on its icon.  And that's what I want to send a snapshot of.  but the moment I close Visual Studio to begin the scenario, it seems like the Profiling Tool thinks that I am done with the scenario, so it uploads the snapshot and greys out all its buttons before I can even begin the specific scenario (booting visual studio) that I want to profile.

Aaaaaarrrrrgggghhhhhh!

4
Avatar
Permanently deleted user

Profiling Resharper C++ made my VS crash too.  C'mon guys!  The suggestions in here do nothing for me. I have an excellent system, but a large body of C++ code. It seems that Resharper C++ is only really useful for toy sized projects. Apparently the internal data structures and algorithms do not scale to real world projects of moderate complexity (300K LOC).

Performance is killing my interest in this product.  I don't care about features if they slow down my workflow. Why should I have to profile your product for you? That's your job. Grab a decently sized open source project from github or something and do it yourselves.  Maybe if you guys had to use your product to write C++ code, this wouldn't be an issue.

I'm am majorly unhappy with the performance of Resharper: loading, slowing down the main UI thread in VS, crashing, etc. 

1
Avatar
Permanently deleted user

> For some reason uploading procedure has failed:


unfortunately, this doesn't work, as then the feedback center doesn't allow me to submit my  problem if it doesn't have a Performance Snapshot attached. :/

0
Avatar
Permanently deleted user

The snapshot is a quite huge black box (160MB+ in my case). Some information about what is sent would be nice. At least some assurance that no privacy or code related information is packed in the file.

0
Avatar
Permanently deleted user

Hi,

Tried to do the VS Profiler but received the following error. I went to the link provided but didn't really understand "...Please follow the note for 2 point in the list above."  I reviewed all the everything with "note" but still receiving the error.

0

Had the same problem here.

When trying to attach the Performance Snapshot, I got the following error:
Failed to attach using self-profiling API

Turns out, there were two report windows running and the one in the background got all the snapshots.

This process should be improved.

Edited by laucomm
0

Same here, what to do next? RS goes crazy with my CPU even with no project opened.

---------------------------
ReSharper Ultimate – Attach Performance Snapshot
---------------------------
Failed to attach using self-profiling API
---------------------------
OK
---------------------------

0

Slow Text Selection In VS2017 Since Early August 2022 Resharper C++ Update

Simply trying to select text in the VS2017 IDE, either by double-clicking on a word, or using the SHIFT+ARROW keys, or simply using the mouse and cursor. In all cases nothing happens for a few seconds, every time.

0

Hello @...

Could you please collect a dump for us as described in the following article - https://resharper-support.jetbrains.com/hc/en-us/articles/206546619.

You can share it using "Submit a request" form at the top of the page.

Thank you.

0

Please sign in to leave a comment.

Have more questions?

Submit a request