Skip to content

v0.11.6

Choose a tag to compare

@github-actions github-actions released this 11 Sep 15:34
· 202 commits to main since this release

🚀 DSH APP v0.11.6 更新说明 / Release Notes

🇨🇳 中文
  • 修复窗口空闲时空烧约 10% CPU:标题栏取色同步靠一个「颜色不变就不 resolve」的 Promise 让同步循环安静阻塞,但页面脚本里还留了一条"颜色已知就直接 resolve"的短路,于是每次调用都立刻返回,主进程与渲染进程之间每秒来回 5000–8000 次 executeJavaScript——窗口开着什么都不做也要占约 4% 主进程 + 5% 渲染进程(GPU 反而是 0,正是 IPC 空转而非绘制开销的破绽),风扇和续航都跟着受影响;去掉短路后回到 0%
🇬🇧 English
  • Fixed the ~10% CPU burnt while the window sits idle: the title-bar colour sync parks its loop on a promise that resolves only when the colour changes, but the page script also short-circuited once a colour was already known — so every call returned at once and the main process ping-ponged executeJavaScript with the renderer 5000-8000 times a second. An idle window cost ~4% of the main process and ~5% of the renderer (with the GPU flat at 0, the giveaway that this was IPC spin and not painting), and the fan and battery life followed. Removing the short-circuit brings it back to 0%

安装包见下方 Release 附件(Windows / macOS / Linux)。
Installers are attached below (Windows / macOS / Linux).