EL4CTEO/fast-anything
找出最慢的少数函数,用编码代理移植到 Rust 并验证等价
解决什么问题
整体重写代价高;凭感觉优化又无法证明结果一致。
- 扫描并按耗时排序热点函数
- 录制真实调用回放验证等价
- 可逐个函数启用与回滚
适用客户端
- cli
安装命令
npm i -g @el4cteo/fast-anything # or: cargo install fast-anything claude mcp add fast-anything -- fast-anything mcp 安全标记
- 需要 API Key: 未标注
- 本地运行: 是
- 访问网络: 是
- 需要 root: 否
维护状态
| 最近提交 | 2026-12-05(0d) |
|---|---|
| Star | 6,605 |
| 待处理 issue | 1 |
| 协议 | Apache-2.0 |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-05 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
Most of an app's runtime sits in a few functions. **fast-anything** finds them, has your coding agent port *only those* to Rust, proves the port returns the same results on real recorded calls, and swaps it in.