diag(memory): 补 30s/60s 内存采样点 + DOM 图片来源分布(data:/blob:)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m43s

This commit is contained in:
qiqi committed 2026-11-29 22:10:42 +08:00
1 parent 371af6f562
commit e7ac0212fb
3 files changed
+7 -1

No files matched your search

+4
View File
@@ -65,6 +65,10 @@
wBootMemLog('after-refreshOutputs')
// 启动 2 秒后再采一次:此时画板已渲染、DOM 里的 img 才是真实峰值
setTimeout(() => wBootMemLog('ready-2s'), 2000)
// v3.26.111:再补 30s / 60s 两个点 —— 显示缩略图是后台生成的,2s 时往往还没生成完,
// 只看 2s 会把「原图解码」误判成常驻占用(Windows 实测 heap 206MB@48 图)。
setTimeout(() => wBootMemLog('30s'), 30000)
setTimeout(() => wBootMemLog('60s'), 60000)
// 初始化超时兜底:本地工作台读取异常/挂起时,保证进入已加载界面,避免 splash 一直转圈。
let wsLoadTimer = null
const ensureLoaded = () => {