Child pages
  • ReSharper Profiling Instructions

Versions Compared

Key

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

...

  1. Download and install dotTrace Performance profiler from https://www.jetbrains.com/ | Select 64-bit version
  2. Start dotTrace and select 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 to 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 ftphttps://ftpuploads.intellijservices.net/jetbrains.uploadscom/. 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.

...

  1. Download and install the trial version of dotMemory.
  2. Run dotMemory.
  3. On the dotMemory Home page, select Profile Local | Standalone Application.
  4. In the opened Profiler Configuration windowright panel, in Standalone Application:
    1. In Application, specify the path to the Visual Studio executable. For example: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
    2. Click Run. This will run Visual Studio.
  5. Open your solution and wait until it is completely loaded.
  6. Collect a memory snapshot by clicking Get Snapshot in dotMemory.
  7. In Visual Studio, perform actions that are suspected to cause memory issues (high memory traffic, exceptions, etc.).
  8. Collect a snapshot one more time by clicking Get Snapshot in dotMemory.
  9. Close Visual Studio.
  10. In dotMemory, save collected snapshots to a file using the menu File | Export Workspace.
  11. Upload the file to ftphttps://ftpuploads.intellijservices.net/jetbrains.uploadscom/.Don’t worry if you don’t see the upload progress – it is hidden according to the FTP folder privileges.
  12. Create a new issue in our issue tracker.
    In the issue, please provide:
    1. A short description of the issue.
    2. Steps required to reproduce the issue.
    3. The name of the uploaded file.

...

  1. Compress the resulting snapshot using Zip
  2. Upload it to ftphttps://ftpuploads.intellijservices.net/jetbrains.uploads/. If upon uploading you're unable to see the snapshot in the remote folder, this is normal: this is the way privileges are set up for the FTP folder.com/.
  3. Create a new issue in ReSharper issue tracker. In the issue, provide a short description of the memory consumption problems you're experiencing, and specify the name of your snapshot.