You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzCore/AzCore
amzn-mike fed1278fe6
AP: product dependency optimization (#6619)
* Initial pass at optimizing product path dependency resolution

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add version of StripAssetPlatform that doesn't allocate or copy strings.  Re-add missing test and fix up compile errors.  Add benchmark test

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Change UpdateProductDependencies to directly call s_InsertProductDependencyQuery.BindAndStep

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add test for same filename on multiple platforms

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Rework search logic to keep track of the source of a search path (source vs product) and keep track of which search matches which dependency to avoid doing another search through every product later on

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Clean up code, expand test

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix paths not being lowercased by SanitizeForDatabase.  Fix UpdateProductDependencies not updating existing dependencies

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add test for duplicate dependency matches.  Fix saving duplicates

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Clean up code

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Separate test into test and benchmark versions

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Cleanup include

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix includes, switch hardcoded job manager setup to use JobManagerComponent instead

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Replaced wildcard_match with PathView::Match.  Changed StripAssetPlatformNoCopy to use TokenizeNext.  Removed Environment Create/Destroy calls.  Made ScopedAllocatorFixture a base class of ScopedAllocatorSetupFixture

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add AZ Environment create/destroy on AP test environment

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add missing asserts on database functions

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix incorrect usage of StripAssetPlatformNoCopy

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix source/product dependency type being ignored.  Removed need for unordered_set for list of resolved dependencies.  Updated unit tests

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Better variable names

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Remove testing code

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix missing includes and namespaces

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>
4 years ago
..
Android Deprecate profiler categories based on global enum 4 years ago
Asset Preapre codebase for FileRequest compiletime improvements (#6192) 4 years ago
Casting Improves numeric_cast compilation (#3995) 4 years ago
Component Make math classes & EntityId visible in Lua Documentation. (#6261) 4 years ago
Compression Clang/Clazy pass over AzCore (#5045) 4 years ago
Console Removing hand-written /n from all AZLOG_ now that we properly add \n automatically 4 years ago
DOM Merging from development 4 years ago
Debug Removes Driller from AzCore 4 years ago
EBus Removal and Replacement of the CryTimer (gEnv->pTimer) (#5409) 4 years ago
IO Merge pull request #6318 from aws-lumberyard-dev/PathSerializationSupport 4 years ago
IPC Clang/Clazy pass over AzCore (#5045) 4 years ago
Interface Disambiguate null interface case 4 years ago
JSON Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Jobs Workaround for Editor freeze. (#6004) 4 years ago
Math AzCore Math tests produce errors that need to be disabled in debug (#6678) 4 years ago
Memory Memory/benchmarks (#5896) 4 years ago
Module Clang/Clazy pass over AzCore (#5045) 4 years ago
Name Clang/Clazy pass over AzCore (#5045) 4 years ago
NativeUI Modernization + AZStd::function compare fix. (#3680) 4 years ago
Outcome Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PlatformId Add linux equivalents for all the places that enumerate platforms (#3325) 4 years ago
Preprocessor Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
RTTI Clang/Clazy pass over AzCore (#5045) 4 years ago
Script chore: remove "using namespace AZ" from AZCore Script (#6366) 4 years ago
ScriptCanvas Clang/Clazy pass over AzCore (#5045) 4 years ago
Serialization Death test relies on an exception from ocurring, that exception is an access violation, which could not happen (i.e. the memory could be valid for the process) (#6683) 4 years ago
Settings Rename sr_regset-file CVar to sr_regset_file (#6067) 4 years ago
Slice Removes AssetMemoryAnalyzer that relies on the MemoryDrillerBus 4 years ago
Socket Clang/Clazy pass over AzCore (#5045) 4 years ago
State Modernization + AZStd::function compare fix. (#3680) 4 years ago
Statistics [development] minor Profiler gem fixes (#5473) 4 years ago
StringFunc Clang/Clazy pass over AzCore (#5045) 4 years ago
Task PR comment 4 years ago
Threading Updated with PR feedback. Created a common function to calculate the number of worker threads. 4 years ago
Time adding TimeSystem unit tests (#6446) 4 years ago
UnitTest AP: product dependency optimization (#6619) 4 years ago
UserSettings fixing AzCore for linux/windows virtual warn 4 years ago
Utils initial scriptcanvas source handle 4 years ago
XML Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
std [Terrain] First pass of the ProcessList and ProcessRegion APIs for retrieving surface data (#6729) 4 years ago
AzCoreModule.cpp Removal and Replacement of the CryTimer (gEnv->pTimer) (#5409) 4 years ago
AzCoreModule.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
BuildInfo.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Docs.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Platform.cpp Clang/Clazy pass over AzCore (#5045) 4 years ago
Platform.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PlatformDef.h AZStd::basic_string improvements (#6438) 4 years ago
PlatformIncl.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PlatformRestrictedFileDef.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
azcore_files.cmake Introduced a Json Serializer for the AzCore mutable path classes 4 years ago
azcoretestcommon_files.cmake Removal and Replacement of the CryTimer (gEnv->pTimer) (#5409) 4 years ago
base.h WIP 4 years ago