零酿造
英语 · 中文
[](https://github.com/lucasgelfond/zerobrew/actions/workflows/ci.yml) [](https://github.com/lucasgelfond/zerobrew/actions/workflows/test.yml) [](https://github.com/lucasgelfond/zerobrew/releases) [](https://discord.gg/ZaPYwm9zaw) [](./LICENSE-MIT.md) [](./LICENSE-APACHE.md)
zerobrew 为 macOS 和 Linux 上的 Homebrew 软件包带来了 uv 风格的架构。
|套餐 |自制| ZB(冷)| ZB(温暖)|冷加速|热加速 |
|--------|----------|------------|------------|----------------|------------|
| **总体(前 100 名)** | 452s | 226s | 226s | 59 年代 | **2.0x** | **7.6x** |
| ffmpeg| 3034 毫秒 | 3481 毫秒 | 688 毫秒 | 0.9 倍 | 4.4 倍 |
|钠 | 2353 毫秒 | 392 毫秒 | 130 毫秒 | 6.0 倍 | 18.1 倍 |
| sqlite | 2876 毫秒 | 625 毫秒 | 159 毫秒 | 4.6 倍 | 18.1 倍 |
|超立方体 | 18950 毫秒 | 5536 毫秒 | 643 毫秒 | 3.4 倍 | 29.5 倍 |
## 与 Homebrew 的关系
Zerobrew 更像是 Homebrew 生态系统的性能优化客户端。我们依靠:
- Homebrew 的公式定义(homebrew-core)
- Homebrew 的预制瓶子(如有)
- Homebrew 的包元数据和基础设施
我们的创新重点在于:
- 用于重复数据删除的内容寻址存储
- 用于零开销复制的 APFS 克隆文件
- 使用 Homebrew 的 Ruby DSL 进行源代码构建回退
Zerobrew 是实验性的。我们建议与 Homebrew 一起运行它,而不是作为替代品,并且_不_
建议清除自制程序并将其替换为