Hacker News new | ask | show | jobs
by solardev 1357 days ago
How is this possible? What is a "cold start"?

For me, with Code completely exited (i.e., not in the dock at all), it takes about 1 second to start drawing and about 4 or 5 to finish rendering all the icons and such and be fully usable. Even IntelliJ (now THAT's slow) only takes about 6 or 7 seconds to fully load. On a M1 too.

Do you have some weird antivirus or similar scanning all your apps...?

1 comments

By cold start I mean, I haven't launched the app in the last days, so it's not in any sort of cache or memory pages.

No, I don't have any antivirus, and generally very concerned about what's running in the background (I delete apps from LaunchAgents dir, avoid keeping hungry Electron apps in the background unless really needed, etc).

I don't understand how it's so slow for you then. I don't even use VSCode regularly (prefer the other IDE), but I keep it around specifically because it's so fast to open. A good lightweight alternative when I don't want to wait for my real IDE.

It's never taken more than a few seconds to load... whether on M1 or x86 Macs or Windows. How weird.

I don't know either, but it's definitely a common case. They have around 200 issues devoted to startup performance.

Meanwhile, NeoVim is consistently starting under 500ms for me, even being heavy loaded with plugins and offering all the same functionality (NeoVim is pretty awesome as an IDE these days).