Child pages
  • ReSharper Profiling Instructions

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to get a performance snapshot for ReSharper using embedded profiler follow these steps (full manual is here):

  1. Go to 'ReSharper | Help | Profile Visual Studio'.
  2. Note: on a 1st run self-profiling tool will be downloaded from JetBrains server, so please be patient.
  3. This action will start the profiling of the VS immediately - after you finish doing the repro actions (basically, reproduce the slowdown), please press the 'Get Snapshot' button in the dialog.
  4. After profiling is complete, you'll be able to upload the snapshot to our FTP server by clicking on Submit button

...

  1. Download and install dotTrace Performance profiler from httpfrom https://www.jetbrains.com/profiler/download  | Select 64-bit version
  2. Start dotTrace and select New Session | Local | Standalone Profile Local App
  3. In the Standalone Application section, specify a path to the Visual Studio executable (devenv.exe)
  4. Make sure the following options are set in Profiler Options:
    1. Profiling type: Sampling (or Tracing or Timeline if you has been asked about it)Start immediatelyto collect exactly Tracing/Timeline snapshot)
    2. Collect profiling data from start: on (if you're experiencing performance problems on Visual Studio startup or during solution loading) or off otherwise
  5. Click Run
  6. If there's a performance problem during startup
    1. Wait while Visual Studio starts, open your solution
    2. Wait until the solution is loaded and ReSharper finishes loading caches
    3. Click Get Snapshot 'n'and Wait button in the profiling controller window
  7. Otherwise
    1. Wait while Visual Studio starts, open your solution
    2. Click Start button in the profiling controller window
    3. Perform actions which are slow with ReSharper (typing, switching between documents, building etc)
    4. Click Get Snapshot 'n'and Wait button in the profiling controller window
  8. In dotTrace Performance Viewer, save the resulting snapshot using the File | Export Snapshot... menu
  9. Compress the snapshot file using Zip
  10. Upload the file to ftp://ftp.intellij.net/.uploads/. Don’t worry if you don’t see the upload progress – it is hidden according to the FTP folder privileges.
  11. Create a new issue in ReSharper issue tracker. In the issue, provide a short description of the performance problems you're experiencing, and specify the name of your snapshot.

Memory Issues

ReSharper embedded memory profiler

In order to get a memory snapshot for ReSharper using embedded profiler follow these steps (full manual is here):

  1. Go to 'ReSharper | Help | Report bug or submit feedback'.
  2. Choose 'Problem Report | Problem category: Performance problem'.
  3. Hit "green cross" icon next to "Attachments" text | select "Memory Snapshot" | It will start self-profiling tool.
  4. Note: on a 1st run self-profiling tool will be downloaded from JetBrains server, download times may vary so please be patient.
  5. After profiling is complete, you'll be able to upload the snapshot to our FTP server by clicking on Submit button

 

Standalone dotMemory profiler

In case of memory issues with ReSharper, please follow the instructions below.

...