I'm not even sure what to call it. Whenever I launch a new application for the first time, it takes a few seconds to open. But then if I close and re-open the program it only takes a fraction of a second to open (basically how long I would expect it to take). This is the case until I reboot or replace the application file. This is particularly frustrating since I'm a programmer and I'm constantly compiling new builds and it's infuriating to wait 3-4 seconds just for my program to open. I never had this problem on Windows 10.
I'm guessing it some kind of caching behavior, but I can't figure out why it would make the program take 3 seconds to open. This is brand-new Windows 11 install on a brand-new laptop, fully up to date. I performed all of the system scans including sfc /scannow and they came back clean. Is there some way to remove/fix this behavior? Is this a bug in Windows 11? I'm not sure what else to try.
FWIW, the program I'm compiling is only ~150MB, statically linked. I have 32GB of RAM. The 3-4 second slow start up did not happen on Windows 10; it only took a fraction of a second to open there, every time.