3 ms·
VSCode isn’t fine, you are just suffering from web app Stockholm syndrome: https://github.com/jhallen/joes-sandbox/blob/master/editor-perf/readme.md https://git
by rayiner 5y ago
VSCode isn’t fine, you are just suffering from web app Stockholm syndrome: https://github.com/jhallen/joes-sandbox/blob/master/editor-perf/readme.md https://github.com/jhallen/joes-sandbox/blob/master/editor-p...
VSCode is slower than Emacs/Vim at e.g. syntax highlighting a large file by a factor of three. It’s slower on a search and replace by a factor of seven. It’s slower than those editors by about the same ratio as Atom is slower than VSCode.
- Macha 5y agoVSCode is slower than vim, this is true. So are Xcode, Visual Studio and MonoDevelop, so it's hard to say that being native would automatically fix it. But at the same time, VS Code is doing more for syntax highlighting than out of the box vim, and heavily plugin modified vim can get slow too. I can't say search and replace has ever taken a noticeable amount of time for me, on all my projects and devices it's perceptually instsnt, unless I'm doing a project wide search and forgot to exclude node_modules or something, a performance problem vim avoids by... not having project wide search.
- Nadya 5y agoBut you don't actually feel those differences unless you (a) measure it or (b) have such an absurdly large project or file as to actually encounter these problems. Many people aren't working on supermassive/monolothic projects and VS Code works just fine for my little 100-500 lines-per-file projects. I don't really care if it takes 0.0002 seconds instead of 0.00009 seconds because the end result is that it feels instantaneous either way. Sure if my files were 1,000,000 - 5,000,000 lines of code per file and I was working on massive projects the 8 seconds vs 0.004 seconds would begin to make a massive difference. I don't though and so it doesn't matter. I sped up the RegEx in my application earlier by an astounding 99.92% on average. I run several dozen various RegEx on a string once every few seconds - sometimes even slower. Execution for the end users already _appeared_ near instant and after the improvements it... doesn't feel any faster for the end users. Because the efficiency of my RegEx doesn't really matter at the rate strings are being parsed and for the small size of the strings (<150 characters often in the 30-50 range).
- jeffbee 5y agoImagine believing VSCode is the same today as it was 5 years ago.