Performance Issues
In order to get a performance snapshot for ReSharper follow these steps:
- Download and install dotTrace Performance 4.5.1 profiler from http://www.jetbrains.com/profiler/download
- Start dotTrace and choose 'Profile'
- Select 'Standalone application' in the 'Application kind' list
- Point dotTrace to Visual Studio executable (devenv.exe)
- Make sure the following options are set:
- Profiling type: Tracing
- Meter kind: Wall time (performance counter)
- Start profiling immediately: on (if you're experiencing performance problems on Visual Studio startup or during solution loading) or off otherwise
- Press 'Run'
- If there's a performance problem during startup
- Wait while Visual Studio starts, open your solution
- Wait until the solution is loaded and ReSharper finishes loading caches
- Press 'Get Snapshot' button on the 'Control Profiling' window
- Otherwise
- Wait while Visual Studio starts, open your solution
- Press 'Start Profiling' button on the 'Control Profiling' window
- Perform actions which are slow with ReSharper (typing, switching between documents, building etc)
- Press 'Get Snapshot' button on the 'Control Profiling' window
- Save the resulting snapshot
- Compress the resulting snapshot using Zip
- Upload the snapshot to ftp://ftp.intellij.net/.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.
- 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
Prepare environment:
- Before starting Visual Studio:
- Open devenv.exe.config in "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE"
- In the <runtime> section add <gcConcurrent enabled="false"/>
- Download NmpCore.exe (or you can try newer version from the vendor site)
- Enable Managed Memory Indicator in ReSharper | Options / Environment / General
Get snapshot:
- Get process ID for devenv.exe process in question
- Double-click managed memory indicator in Visual Studio status bar (to the right) to perform Garbage Collection
- Execute the following command, substituting <pid> and path to snapshot:
Upload snapshot and create an issue:
- Compress the resulting snapshot using Zip
- Upload it to ftp://ftp.intellij.net/.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.
- 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.