News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.