From 914e84028dd6efc512a0695ded937774da19765c Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 10 Sep 2026 16:29:31 +0300 Subject: [PATCH] perf: the clean-floor cache holds one entry per room per config epoch (#509) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pre-release perf gate of the v1.74.0-beta.1 candidate reported cache.entries.cleanFloor 120 against a ceiling of 100 (run 34480302982, large-house-interaction-v1). The ceiling was calibrated when only the visible space populated `_cleanFloorCache`; since #509 the summary panel computes the clean-floor total in per-room slices through the same cache, so the sixty fixture rooms are cached under both config epochs the interaction profile creates — 60 × 2 = 120, exactly what the run measured. The ceiling moves to 180 in the smoke and in the full interaction profile: one entry per room per epoch with room for a third epoch, far below the LRU cap of 600 and far below anything a per-frame or per-marker regression would produce. The leak detector is untouched: cacheGrowth.cleanFloor stays 0. Issue: #509 User-Visible: no Release: v1.74.0-beta.1 --- demo/performance/budgets-interaction-smoke.json | 2 +- demo/performance/budgets-large-house-interaction.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/performance/budgets-interaction-smoke.json b/demo/performance/budgets-interaction-smoke.json index cdcc7aff..57978649 100644 --- a/demo/performance/budgets-interaction-smoke.json +++ b/demo/performance/budgets-interaction-smoke.json @@ -96,7 +96,7 @@ "hardMaxGrowthBytes": 67108864 }, "cacheEntries": { - "cleanFloor": 100, + "cleanFloor": 180, "glowClip": 200, "wallUnion": 1, "openingTunnel": 1, diff --git a/demo/performance/budgets-large-house-interaction.json b/demo/performance/budgets-large-house-interaction.json index 9b85f748..9d1c7033 100644 --- a/demo/performance/budgets-large-house-interaction.json +++ b/demo/performance/budgets-large-house-interaction.json @@ -118,7 +118,7 @@ "noiseAllowanceBytes": 16777216 }, "cacheEntries": { - "cleanFloor": 100, + "cleanFloor": 180, "glowClip": 200, "wallUnion": 1, "openingTunnel": 1,