News for hackers. Stuff that matters.
Re:Speed Is the Killer Feature by arethuza on Tuesday March 02, 2021 @11:08AM (#26316756)
Out of interest do you mean starting a new instance of VS Code for those things or using an existing one.

I would agree that VS Code isn't the fastest thing when the editor is starting up, though I find it fine when started. I pretty much always have VS Code running so I don't find this a problem.

Re:Speed Is the Killer Feature by robenkleene on Tuesday March 02, 2021 @11:16AM (#26316859)
VS Code is already running in both examples.

A lot of the overhead seems to come from making a new window (even though the app itself is already running), although notably most of the time spent in the Prettier example seems to be spent syntax highlighting the JavaScript. If you want to try a direct comparison of opening a file vs. a window, you can see the difference between opening a new file in an existing window (on Mac, `⌘N` / `File > New File`) or new window (on Mac, `⌥⌘N` / `File > New Window`). For me the latter is far slower than the former.