Steps to reproduce:
- Build a large project with Xcode or xcodebuild. One that takes at least a minute (WebKit or Chromium for extremes).
- Edit any file in Sublime Text (currently ST3 b3103, but reproduced for a long time).
What happens
Typing, moving cursor, entering keyboard commands, clicking menus is unbearably slow.
What should happen
ST is swift and smooth as when not building at the same time.
Workaround
Use less cores to build:
xcodebuild -jobs
or ninja -j
When doing that, ST runs smoothly.
Why is Sublime Text process’ priority inferior to xcodebuild’s threads? My other apps run smoothly when building, so they seem to have higher priority than build threads.
Any idea?
