Release builds in Visual Studio even slower?

Of course, Debug builds are slower than release versions. But when I create Release mode, the application works much better when launched manually from Explorer than when launched in Visual Studio. For example, accessing the file system takes about 10 times longer in my project. Since it is the same executable, I think it should follow the same instructions.

Why did the release build start with Visual Studio so slowly? How can I get full speed?

+4
source share
1 answer

I think the difference is that heap.

MSDN : , ( ), , , , API , , , . _NO_DEBUG_HEAP -hd.

, , .

, . exe , (LFH) , Windows Vista, LFH , .

, Window XP , LFH XP. , LFH , , , , ​​VS.

+5

Source: https://habr.com/ru/post/1543206/


All Articles