dbx icon indicating copy to clipboard operation
dbx copied to clipboard

[Bug] mac启动慢,从启动到进入页面预计要20s

Open vscoder-loongking opened this issue 6 months ago • 9 comments

提交前确认

  • [x] 我已搜索现有 issues,确认没有重复反馈。
  • [ ] 我已尝试使用最新版本或当前 main 分支复现。
  • [x] 我提供的信息中不包含真实密码、Token、私钥或生产数据。

问题模块

安装 / 启动 / 打包

数据库类型

不适用

数据库版本

No response

连接方式

不适用

问题描述

启动时间慢,预计20s才能进入页面

复现步骤

打开DBX

期望行为

优化加载进入页面的速度

实际行为

打开后白屏20s才进入主页面,录屏见附件

最小复现 SQL / 数据结构


错误日志


截图

Image

DBX 版本 / Commit

0.5.6

操作系统

macOS Apple Silicon

补充信息

longshot20260514162051.mov.zip

vscoder-loongking avatar May 14 '26 08:05 vscoder-loongking

主要原因还是没开🪜导致被自动更新获取github assets被阻塞了~ 下版本优化

t8y2 avatar May 14 '26 08:05 t8y2

我电脑是有一直挂着🪜的,不知道是啥原因导致加载/获取速度慢

vscoder-loongking avatar May 14 '26 09:05 vscoder-loongking

最新版本已修复~可以尝试验证

t8y2 avatar May 15 '26 06:05 t8y2

现在使用的是最新版0.5.11后,从启动到进入页面还是要白屏20s,梯子也是开着的

https://github.com/user-attachments/assets/d9672545-4980-4e2a-a99b-3809793a9694

vscoder-loongking avatar May 18 '26 03:05 vscoder-loongking

开着梯子的录屏

https://github.com/user-attachments/assets/eda2810d-a892-4dda-9776-bb66b152dffa

vscoder-loongking avatar May 18 '26 03:05 vscoder-loongking

麻烦您用终端启动一次 DBX 抓日志:

  1. 先彻底退出 DBX
  2. 打开“终端”
  3. 执行:

/Applications/DBX.app/Contents/MacOS/DBX > ~/Desktop/dbx-startup.log 2>&1

  1. 等它白屏进入页面后,再等 10 秒
  2. 退出 DBX
  3. 把桌面上的 dbx-startup.log 发我

t8y2 avatar May 18 '26 04:05 t8y2

dbx-startup.log [STARTUP] plugins registered in 255.969917ms [STARTUP] Storage::open in 1.797917ms [STARTUP] migrate_from_json in 15.875µs [STARTUP] storage ready in 1.8705ms [STARTUP] setup complete in 2.040916ms (total 258.010792ms) 2026-05-18 16:31:01.222 DBX[3854:160104] error messaging the mach port for IMKCFRunLoopWakeUpReliable

vscoder-loongking avatar May 18 '26 08:05 vscoder-loongking

最新版本可以看看是否解决~

t8y2 avatar May 20 '26 05:05 t8y2

根因是googlefonts导致的 最新版本已修复

t8y2 avatar May 29 '26 09:05 t8y2