You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Why do this: Currently when compiling a cpp file with MSVC, it compiles across multiple cores while clang does not. This means that while we support limiting the number of cores(using ProcessorCountMultiplier), MSVC will use more cores than we specify. It also means that MSVC will always be faster when compiling because clang does not support compiling a cpp over multiple cores. To get similiar results when compiling with clang, we set the weight of MSVC to 1.5 and the weight of clang to 1.0. We then set the ProcessorCountMultiplier to 1.5. This results in MSVC and clang taking roughly the same amount of CPU utilization and clang compiles to be much faster. Old Timing(secs) Old CPU Utilization New Timing New CPU Utilization(secs) PlatformA AncientGame 590.94 51 431.47 73 MSVC AncientGameEditor 1016.96 94 1026.08 95 Clang AncientGameEditor 1543.72 63 1270.4 84 PlatformB AncientGame 494 52 396.95 74 Old = without weight path New = with weight path #jira #rb christopher.waters, joe.kirchoff #preflight 6409026c8832f48a4dc72025 [CL 24567859 by bryan sefcik in ue5-main branch]