Commit Graph

5 Commits

Author SHA1 Message Date
Matt Peters
c21db29e38 Cooker Stats: Fix the "Packages Cooked" stat line to use the number of packages cooked rather than the number of packages multiplied by the number of platforms.
#rb Devin.Doucette
#rnx
#preflight 628d0348c97e4beea3a51802

[CL 20350856 by Matt Peters in ue5-main branch]
2022-05-24 13:04:27 -04:00
Catalin Dragoiu
0b478d5694 Cooking Profiler Prototype
#rb Ionut.Matasaru  Matt Peters
#preflight 628b8690693c5e1de2773a39

[CL 20327158 by Catalin Dragoiu in ue5-main branch]
2022-05-23 10:13:54 -04:00
Matt Peters
02dfa9a6ec Cooker: Hybrid Iterative cooks
Add the concept of pre-exploration of dependencies - searching assetregistry or target domain dependencies of the set of requested packages up front, to find all packages that will be cooked and allow us to do asynchronous and batch operations on them.
Convert FRequestCluster into an FPackageData container, holding packages in a substate of EPackageState::Request. This allows us to create a new RequestClusters when we encounter a package that was not found in the initial discovery.
Add hybriditerative mode for iterative cooks; this uses targetdomain keys to check for packages that exist from the previous cook, rather tracing the dependency graph to find all packages that transitively reference packages with modified guids.
Modify AssetRegistryGenerator to use a TMap of iteratively loaded packages that can be edied as packages cook, rather than using a const previous state; this supports hybrid iterative where we do not calculate the list of iterative packages until we encounter them in a request cluster.
#rb Zousar.Shaker
#rnx

[CL 17373295 by Matt Peters in ue5-main branch]
2021-08-31 14:20:16 -04:00
Matt Peters
41a3c6a431 CookOnTheFlyServer.cpp factoring for use in multiple cpp files.
Move profiling code into CookProfiling.h/.cpp.
Remove FScopeAssign struct that duplicates TGuardValue.
#rb Devin.Doucette
#rnx

[CL 17117732 by Matt Peters in ue5-main branch]
2021-08-10 11:59:46 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00