返回列表
🧠 阿头学 · 🪞 Uota学

你的 Mac 可能偷偷慢了 30%——Rosetta 的隐形性能税

如果你从 Intel Mac 迁移过来,你的所有开发工具可能都在通过 Rosetta 翻译运行,白白损失 20-50% 性能——打开终端输入 `arch` 就知道了。

2026-02-17 原文链接 ↗
阅读简报
双语对照
完整翻译
原文
讨论归档

核心观点

  • "好到你感觉不到"恰恰是最大的陷阱 Rosetta 的翻译无缝到没有任何警告——没有报错、没有弹窗、连性能监控都不会标红。你可以在 30% 的性能损失下工作好几年而毫无察觉。这是"完美兼容性"的诅咒。
  • 迁移助理是罪魁祸首 Migration Assistant 静默复制了 Intel 版 Homebrew,之后所有通过它安装的工具链都是 Intel 版本。一个根节点的错误传播到了整棵树。这个 bug 的传播模式值得所有做工具链的人警惕。
  • OpenClaw 的 node-llama-cpp 拒绝 Rosetta 反而救了他 有时候"不兼容"比"完美兼容"更好。如果 node-llama-cpp 也像其他工具一样默默通过 Rosetta 运行,他可能永远不会发现这个问题。Fail loud > fail silent。
  • 修复方案简单到可笑 重新安装 ARM 版 Homebrew + 重装所有包。几分钟的事,换来 20-50% 的性能提升。这种"投入极低、收益极高"的优化是最容易被忽略的。

跟我们的关联

  • ATou 和团队的开发机有没有这个问题?20 个人的团队,如果有几台是从旧 Mac 迁移过来的,很可能中招。花 5 分钟全员检查一下,可能直接让几个人的开发效率提升 30%。
  • Neta 的 CI/CD 和本地开发环境有没有跑在 Rosetta 上?如果构建服务器是迁移过来的,每次构建都多花 30% 时间,累积起来就是巨大的浪费。
  • 更深层的教训:团队的工具链有多久没做过一次全面审计了?类似的"隐形性能税"可能不止 Rosetta 一个。

讨论引子

1. ATou 现在用的 Mac 是从旧机器迁移的还是全新安装的?先查一下 `arch` 的结果。 2. 团队有没有一个"开发环境健康检查"的标准流程?除了 Rosetta,还有哪些常见的隐形性能杀手值得检查?

可能立刻让电脑提速 20%–50%

  • 打开终端
  • 输入 "arch"

今天才发现:这些年来,我的电脑运行大多数东西都慢了约 30%。

2020 年,@Apple 将 Mac 从 Intel 芯片切换到自家的 ARM 芯片(M1、M2、M3、M4)。为了确保旧的 Intel 应用不会一夜之间全都崩掉,他们打造了 Rosetta——一层翻译层,能在运行时把 Intel 指令即时转换为 ARM。它好用到你甚至感觉不到它的存在。这正是问题所在。

当我从旧的 Intel Mac 迁移过来时,迁移助理悄悄把 Intel 版的 @MacHomebrew 也一并拷了过来。从那一刻起,我安装的每一个包——Node、Python、我的终端、200+ 开发工具——全都是 Intel 版本。Rosetta 把一切都无缝翻译了过去。没有警告。没有报错。只是全盘慢了 30%,而我毫无察觉。

我之所以直到这个周末才发现,是因为我在全新安装 @openclaw,用来测试我正在做的一个秘密项目。Openclaw 的新更新用了 node-llama-cpp,而它压根拒绝在 Rosetta 下运行。就这么一个失败,暴露了我这些年一直被隐藏起来的性能损失。

这可能也正在发生在你身上。

如何检查

  1. 打开任何通过 homebrew 安装的终端应用(iterm2、ghostty 等……)。系统自带的 Terminal 应用是由系统安装并且使用 arm,所以不适合用来测试。
  2. 输入 "arch" 并回车
  3. 如果显示 arm64 —— 没问题,一切都在原生运行
  4. 如果显示 i386 —— 你的 Mac 正在通过 Rosetta 运行所有东西,你白白浪费了 20%–50% 的性能

你也可以检查某个具体应用:右键任意应用 → 显示简介 → 如果勾选了“使用 Rosetta 打开”(或该选项是灰色的),那它就是在以翻译方式运行。

如何修复

  1. 打开终端
  2. 安装 ARM Homebrew:/bin/bash -c "$(curl -fsSL https://t.co/uxVTms1w67)"
  3. 用 /opt/homebrew/bin/brew 重新安装你的软件包

现在就去检查。

⚡️ 祝你一路顺风。

相关笔记

Potential instant 20-50% computer speedup - open terminal - type "arch"

  • 打开终端
  • 输入 "arch"

Discovered today that my computer had been running most things ~30% slower for years.

今天才发现:这些年来,我的电脑运行大多数东西都慢了约 30%。

In 2020 @Apple switched Macs from Intel chips to their own ARM chips (M1, M2, M3, M4). To make sure old Intel apps didn't break overnight, they built Rosetta — a translation layer that converts Intel instructions to ARM on the fly. It works so well you don't even know it's there. That's the problem.

2020 年,@Apple 将 Mac 从 Intel 芯片切换到自家的 ARM 芯片(M1、M2、M3、M4)。为了确保旧的 Intel 应用不会一夜之间全都崩掉,他们打造了 Rosetta——一层翻译层,能在运行时把 Intel 指令即时转换为 ARM。它好用到你甚至感觉不到它的存在。这正是问题所在。

When I migrated from my old Intel Mac, Migration Assistant silently copied over Intel @MacHomebrew. From that point on, every single package I installed — Node, Python, my terminal, 200+ developer tools — was the Intel version. Rosetta translated everything seamlessly. No warnings. No errors. Just 30% slower across the board, and I had no idea.

当我从旧的 Intel Mac 迁移过来时,迁移助理悄悄把 Intel 版的 @MacHomebrew 也一并拷了过来。从那一刻起,我安装的每一个包——Node、Python、我的终端、200+ 开发工具——全都是 Intel 版本。Rosetta 把一切都无缝翻译了过去。没有警告。没有报错。只是全盘慢了 30%,而我毫无察觉。

I only caught it this weekend because I was doing a fresh install of @openclaw to test a secret project I'm building. The new update of Openclaw uses node-llama-cpp, which flat out refuses to run under Rosetta. That one failure exposed years of hidden performance loss.

我之所以直到这个周末才发现,是因为我在全新安装 @openclaw,用来测试我正在做的一个秘密项目。Openclaw 的新更新用了 node-llama-cpp,而它压根拒绝在 Rosetta 下运行。就这么一个失败,暴露了我这些年一直被隐藏起来的性能损失。

This might be happening to you.

这可能也正在发生在你身上。

To check

如何检查

  1. Open any terminal app installed through homebrew (iterm2, ghostty, etc...). The default Terminal app is installed by the system & uses arm so won't work to test.
  2. Type "arch" and hit enter
  3. If it says arm64 — you're good, everything is running native
  4. If it says i386 — your Mac is running everything through Rosetta and you're leaving 20-50% performance on the table
  1. 打开任何通过 homebrew 安装的终端应用(iterm2、ghostty 等……)。系统自带的 Terminal 应用是由系统安装并且使用 arm,所以不适合用来测试。
  2. 输入 "arch" 并回车
  3. 如果显示 arm64 —— 没问题,一切都在原生运行
  4. 如果显示 i386 —— 你的 Mac 正在通过 Rosetta 运行所有东西,你白白浪费了 20%–50% 的性能

You can also check specific apps: right-click any app → Get Info → if "Open using Rosetta" is checked (or greyed out), it's running translated.

你也可以检查某个具体应用:右键任意应用 → 显示简介 → 如果勾选了“使用 Rosetta 打开”(或该选项是灰色的),那它就是在以翻译方式运行。

To Fix

如何修复

  1. Open terminal
  2. Install ARM Homebrew: /bin/bash -c "$(curl -fsSL https://t.co/uxVTms1w67)"
  3. Reinstall your packages using /opt/homebrew/bin/brew
  1. 打开终端
  2. 安装 ARM Homebrew:/bin/bash -c "$(curl -fsSL https://t.co/uxVTms1w67)"
  3. 用 /opt/homebrew/bin/brew 重新安装你的软件包

Go check right now.

现在就去检查。

⚡️ Godspeed.

⚡️ 祝你一路顺风。

相关笔记

Nikil Viswanathan (@nikil): Potential instant 20-50% computer speedup - open terminal - type "arch" Discover

  • Source: https://x.com/nikil/status/2023531845728825482?s=46
  • Mirror: https://x.com/nikil/status/2023531845728825482?s=46
  • Published: 2026-02-16T22:56:02+00:00
  • Saved: 2026-02-17

Content

Potential instant 20-50% computer speedup - open terminal - type "arch"

Discovered today that my computer had been running most things ~30% slower for years.

In 2020 @Apple switched Macs from Intel chips to their own ARM chips (M1, M2, M3, M4). To make sure old Intel apps didn't break overnight, they built Rosetta — a translation layer that converts Intel instructions to ARM on the fly. It works so well you don't even know it's there. That's the problem.

When I migrated from my old Intel Mac, Migration Assistant silently copied over Intel @MacHomebrew. From that point on, every single package I installed — Node, Python, my terminal, 200+ developer tools — was the Intel version. Rosetta translated everything seamlessly. No warnings. No errors. Just 30% slower across the board, and I had no idea.

I only caught it this weekend because I was doing a fresh install of @openclaw to test a secret project I'm building. The new update of Openclaw uses node-llama-cpp, which flat out refuses to run under Rosetta. That one failure exposed years of hidden performance loss.

This might be happening to you.

To check

  1. Open any terminal app installed through homebrew (iterm2, ghostty, etc...). The default Terminal app is installed by the system & uses arm so won't work to test.
  2. Type "arch" and hit enter
  3. If it says arm64 — you're good, everything is running native
  4. If it says i386 — your Mac is running everything through Rosetta and you're leaving 20-50% performance on the table

You can also check specific apps: right-click any app → Get Info → if "Open using Rosetta" is checked (or greyed out), it's running translated.

To Fix

  1. Open terminal
  2. Install ARM Homebrew: /bin/bash -c "$(curl -fsSL https://t.co/uxVTms1w67)"
  3. Reinstall your packages using /opt/homebrew/bin/brew

Go check right now.

⚡️ Godspeed.

📋 讨论归档

讨论进行中…