fix(memory): 图片字节冷读加 4 路并发闸门(v3.26.110)
Windows 实测:启动后 usedJSHeapSize 34MB → 440~557MB,而画板数据只有 0.5MB。 根因:首帧渲染时对 111 个图片引用同时发起读盘,每个 1~6MB 读成 Uint8Array 再 copy 进 Blob。 改为 getBlob 冷读 4 路并发(缓存命中不排队),堆峰值随并发走而不随画布图片数走;stats 增加读取并发观测。
This commit is contained in:
1 parent
870508a33f
commit
004227f074
6 files changed
+37
-6
No files matched your search
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "image-workbench"
|
||||
version = "3.26.109"
|
||||
version = "3.26.110"
|
||||
description = "无限画布 · 生图工作台桌面版"
|
||||
authors = ["malongan"]
|
||||
license = ""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||
"productName": "image-workbench",
|
||||
"version": "3.26.109",
|
||||
"version": "3.26.110",
|
||||
"identifier": "com.malongan.imageworkbench",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
|
||||
Reference in new issue
Block a user