Child pages
  • ReSharper Profiling Instructions

Versions Compared

Key

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

Table of Contents

Performance Issues

ReSharper embedded profiler

In order to get a performance snapshot for ReSharper using dotTrace follow these steps:

  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

 

Standalone dotTrace profiler

In order to get a performance snapshot for ReSharper using dotTrace follow these steps:

  1. Download and install dotTrace Performance profiler from http://www.jetbrains.com/profiler/download 
  2. Start dotTrace and select New Session | Local | Standalone
  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
    2. Start immediately: 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'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'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.

...