test: separate Glow performance contracts

Issue: #374
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-08-29 15:03:12 +03:00
parent 6e3d08eda7
commit f5a49718a0
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ try {
config: { unit_system: { length: 'km' } },
});
const cacheSnapshot = (card) => ({
...(card._glowRuntimeState ? {
...(card.localName === 'houseplan-space-card' ? {
glowClip: card._glowRuntimeState.clipCache?.size ?? 0,
} : {
cleanFloor: card._cleanFloorCache?.size ?? 0,
@@ -22,5 +22,6 @@
},
"heap": { "required": true, "hardMaxGrowthBytes": 67108864, "maxRegressionRatio": 0.75, "noiseAllowanceBytes": 16777216 },
"cacheEntries": { "glowClip": 0 },
"cacheGrowth": { "glowClip": 0 }
"cacheGrowth": { "glowClip": 0 },
"renderedDevices": 200
}
@@ -22,5 +22,6 @@
},
"heap": { "required": true, "hardMaxGrowthBytes": 67108864, "maxRegressionRatio": 0.75, "noiseAllowanceBytes": 16777216 },
"cacheEntries": { "glowClip": 128 },
"cacheGrowth": { "glowClip": 0 }
"cacheGrowth": { "glowClip": 0 },
"renderedDevices": 200
}
@@ -13,5 +13,6 @@
},
"heap": { "required": true, "hardMaxGrowthBytes": 67108864 },
"cacheEntries": { "glowClip": 128 },
"cacheGrowth": { "glowClip": 0 }
"cacheGrowth": { "glowClip": 0 },
"renderedDevices": 200
}