Speeding up Wing

Index of All Documentation » Wing Pro Reference Manual » Trouble-shooting Guide »

Wing should present a snappy, responsive user interface even on relatively slow hardware. If Wing appears sluggish, you can diagnose the problem as follows:

Wait for source analysis to complete, which may be necessary just after creating a new project, adding files to an existing project, or if many files on disk have changed or moved. In this case, the status area in the lower left of the IDE window will indicate that analysis is running. Wing stores the results of this process in a cache so the problem should not reoccur often.

Increase the source analysis cache allocation with the Source Analysis > Max Cache Size preference if the Cache Directory in Wing's About box exceeds that size. You may also want to press the Clear Cache button next to the preference to rule out problems caused by a corrupted source analysis cache.

Try disabling external change checking by setting the Files > Reloading > External Check Freq preference to 0.

On a multi-core virtual machine, set processor affinity if Wing runs slowly. This is done with schedtool -a 0x1 -e wing10.0 on Linux (the schedtool package needs to be installed if not already present) and with START /AFFINITY 01 "Wing Pro" "C:\Program Files (x86)\Wing Pro 10\bin\wing.exe" on Windows.

In other cases, collect a profile as follows:

  • Select Command by Name from the Edit menu, type internal-profile-start, and press Enter
  • Do something that is slow, or just wait for a while
  • Select Command by Name again, type internal-profile-stop, and press Enter

The profile is written to the end of ide.log in the Settings Directory. This can be submitted in a bug report from the Help menu or by email to support@wingware.com.