Bun AoT 实测:OpenClaw 启动快 3.1 倍,OpenCode 省内存 41%

steipete · x · 2026-11-10

jarredsumner 分享了用 Bun AOT 编译(bun compile)对比 Bun JIT 与 Node v26 的基准结果(Linux x64、12 核、10+ 次取中位数):

结论:AI 编码工具这类常驻 CLI/网关进程用 Bun AoT 编译可获得显著的启动与内存收益。opencode 的 AoT 版本已随当日 npm 发布,相关 Bun 改动尚为实验性(oven-sh/bun#48120)。

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →