This is an automated email from the ASF dual-hosted git repository. wu-sheng pushed a commit to branch fix/3d-fps-and-layer-rehydrate in repository https://gitbox.apache.org/repos/asf/skywalking-horizon-ui.git
commit 339e8e9270f603e04284386d5a7c6ec135c223eb Author: Wu Sheng <[email protected]> AuthorDate: Sat May 30 23:58:24 2026 +0800 perf(infra-3d): cap the 3D map render loop to 30fps The scene renders continuously; on a high-refresh display the loop ran at 60-120fps, pegging a CPU core (the per-frame cientos <Html> reprojection for ~80 chips/labels dominates). TresJS's native fpsLimit caps the whole loop (render + onSceneLoop + <Html> updates), roughly halving (or quartering on 120Hz) the renderer CPU with no visual change. --- apps/ui/src/features/infra-3d/Infra3DScene.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ui/src/features/infra-3d/Infra3DScene.vue b/apps/ui/src/features/infra-3d/Infra3DScene.vue index 3b0fc3f..983cc08 100644 --- a/apps/ui/src/features/infra-3d/Infra3DScene.vue +++ b/apps/ui/src/features/infra-3d/Infra3DScene.vue @@ -1592,6 +1592,7 @@ onUnmounted(() => { clear-color="#0a0d12" :antialias="true" power-preference="high-performance" + :fps-limit="30" @loop="onSceneLoop" > <TresPerspectiveCamera
