Disabled instantiate and spawnable benchmarks
This commit is contained in:
+2
-6
@@ -41,19 +41,15 @@ namespace Benchmark
|
||||
{
|
||||
newInstances[instanceCounter] = m_prefabSystemComponent->InstantiatePrefab(templateToInstantiateId);
|
||||
}
|
||||
|
||||
state.PauseTiming();
|
||||
ResetPrefabSystem();
|
||||
state.ResumeTiming();
|
||||
}
|
||||
|
||||
state.SetComplexityN(numInstances);
|
||||
}
|
||||
}/*
|
||||
BENCHMARK_REGISTER_F(BM_PrefabInstantiate, InstantiatePrefab_SingleEntityInstance)
|
||||
->RangeMultiplier(10)
|
||||
->Range(100, 10000)
|
||||
->Unit(benchmark::kMillisecond)
|
||||
->Complexity();
|
||||
->Complexity();*/
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
+3
-2
@@ -37,17 +37,18 @@ namespace Benchmark
|
||||
AzFramework::Spawnable spawnable;
|
||||
AzToolsFramework::Prefab::SpawnableUtils::CreateSpawnable(spawnable, prefabDom);
|
||||
|
||||
ResetPrefabSystem();
|
||||
|
||||
state.ResumeTiming();
|
||||
}
|
||||
|
||||
state.SetComplexityN(numSpawnables);
|
||||
}
|
||||
/*
|
||||
BENCHMARK_REGISTER_F(BM_SpawnableCreate, CreateSpawnable_SingleEntityInstance)
|
||||
->RangeMultiplier(10)
|
||||
->Range(100, 10000)
|
||||
->Unit(benchmark::kMillisecond)
|
||||
->Complexity();
|
||||
->Complexity();*/
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -20,8 +20,8 @@ endif()
|
||||
# Tests
|
||||
################################################################################
|
||||
|
||||
foreach(suite_name ${LY_TEST_GLOBAL_KNOWN_SUITE_NAMES})
|
||||
if(PAL_TRAIT_TEST_LYTESTTOOLS_SUPPORTED)
|
||||
if(PAL_TRAIT_TEST_LYTESTTOOLS_SUPPORTED)
|
||||
foreach(suite_name ${LY_TEST_GLOBAL_KNOWN_SUITE_NAMES})
|
||||
ly_add_pytest(
|
||||
NAME pytest_sanity_${suite_name}_no_gpu
|
||||
PATH ${CMAKE_CURRENT_LIST_DIR}/sanity_test.py
|
||||
@@ -34,8 +34,8 @@ foreach(suite_name ${LY_TEST_GLOBAL_KNOWN_SUITE_NAMES})
|
||||
TEST_SUITE ${suite_name}
|
||||
TEST_REQUIRES gpu
|
||||
)
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
# EPB Sanity test is being registered here to validate that the ly_add_editor_python_test function works.
|
||||
#if(PAL_TRAIT_BUILD_HOST_TOOLS AND PAL_TRAIT_BUILD_TESTS_SUPPORTED AND AutomatedTesting IN_LIST LY_PROJECTS_TARGET_NAME)
|
||||
|
||||
Reference in New Issue
Block a user