3 ms·
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), alth
by robenkleene 6y ago
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.