Unless the indexing is running, it should not lag your interface. This is the indexer status. When it is complete it does show nothing:
Unless the files you are opening very big as 1MB of size, it should not lag. But perhaps a third part Javascript
syntax could be consuming too much Sublime Text resources. Do you use the default Sublime Text syntax for Javascript
? Perhaps you can try some third part syntax and test whether the problem persists.
Also, did you under-clocked you computer? I under-clocked mime to 1GHz, but have usually have RAM available. Perhaps is there too much RAM or CPU usage by other programs.
Yesterday I find out one Sublime Text plugin causing Sublime Text to leak memory and crash after typing text for some time. This is the video I recorded during one of the tests. Later I will publish a complete report on how did I nailed it down. On this, I put a another computer program to type a text for me, while I monitor the Sublime Text RAM and Memory usage. After few minutes running Sublime Text, it reached about 1.7GB of RAM use, and crashed:
https://vid.me/mW6Ky
After hours of search, I find out this was because of this package: https://github.com/shagabutdinov/sublime-goto-last-edit-enhanced
Now I am looking into its source code (about 50 lines) and trying to create a minimal example on how and why it is making Sublime Text leak memory and crash.