Sublime Forum

Performance issue when os in heavy load

#1

system: macos (10.10, 10.11, 10.12)
situation: system run background tasks and using a lot of cpu power.
sublimetext version: all versions.
sublime text behivor: very slow response, take seconds for just input a character.

compare other editors, for example, atom editor, are much faster than sublimetext. It seems like process priority problem, can we improve this?

1 Like

#2

This was addressed in dev build 3125 and beta 3126. If you are still seeing issues, you’ll need to post the contents of your Console and any other info you can provide.

In short, if you are seeing “heavy” CPU usage it is from indexers, possibly combined with syntax definitions that are sub-optimal.

In the releases mentioned above we fixed an issue of the JavaScript syntax when embedded in other syntaxes. We also changed the default number of indexers, reducing it from 1 low-priority process per CPU core to:

  • 1 process for 1 and 2 core machines
  • 2 processes for 4 core machines
  • n-1 processes for >4 core machines

This can be customized by the index_workers setting. All indexers are always set to low-priority.

0 Likes