2 ms·
Do you know why running the binary is slow for the first time, and that it will be fast forever once it's been run once? I thought it's common knowledge that s
by oriolid 3y ago
Do you know why running the binary is slow for the first time, and that it will be fast forever once it's been run once?
I thought it's common knowledge that starting apps for the first time after reboot or after doing something else is slower and usually it's explained by the app being in cache for the next launch. But here the it can't be cache, because reading anything from SSD can't be that slow and it should already be in cache anyway.
- alpaca128 3y agoThe first time you start a program on Mac OS it'll contact an Apple server to see if it's known malware or something like that. So it doesn't happen the first time after boot but the first time you ever run the program after installation or compilation.
- oriolid 3y agoThanks for the explanation. I thought code signing was supposed to reduce the need for this kind of checks. Still, stuff like this isn't helping with performance and if the new binary is sent somewhere outside the developer machine legal departments would be interested too.