Thread are slower in cooked game

azukaar
Wed, 08 Apr 2020 03:17:05 +0000
Debugging, Optimization, & Profiling

When executing a simple C++ loop in a FRunnable in the game like so, the performance are widely different from the uncooked game (Whether it’s in editor, or in right click>launch game standalone) and cooked (whether the game is packaged or not). I have observed around 50% difference, which is massive, it seems for some reason the thread is code is executing slower when the cooked game runs…

link to code : class ThreadChunk : public FRunnable {public: bool bAlive = true; - Pastebin.com

Preview :

3 posts - 1 participant