CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
902 stars 287 forks source link

Tweak performance tests to be friendlier to root tile throttling (Google P3DT) #1356

Closed csciguy8 closed 3 months ago

csciguy8 commented 6 months ago

Changes to let the performance tests hit the HTTP 429 code (too many requests) a little less.

1) Change core test logic to not clear disk cache on every run. Let individual tests configure this 2) After a performance test ran, we would let the editor scene load the same scene as a nicety (SetSuspendUpdate(false)). This is essentially a throw away scene load if you don't care about it. Don't do this either. 3) For Google Performance tests, let most tests just do a single pass (cold cache).

Also adds more profiling events during Unreal model loading (Cesium::LoadPrimitive event). This event was recently discovered as a bottleneck for certain performance tests (warm cache).

Before (Unreal Insights capture) Profile before

After Profile after

csciguy8 commented 3 months ago

Merging this without review...

Reasons: