File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 3030> 开发过程中常用的工具,及一些新工具的介绍
3131
3232### [ swift-profile-recorder] ( https://swiftpackageindex.com/apple/swift-profile-recorder )
33- [ @Smallfly ] ( https://github.com/iostalks ) :Swift Profile Recorder 是一款「进程内」采样分析器,专为受限容器环境而生:不需要 CAP_SYS_PTRACE,就能在 Linux 与 macOS 上抓取 on-CPU 与 off-CPU 样本,定位真实的性能瓶颈(计算热点、锁等待、IO 阻塞等) 。你只需以 Swift 包集成并启用内置服务器,即可用一次 ` curl ` 拿到已符号化的 Linux perf 格式数据,直接拖到 Speedscope / Firefox Profiler 或用 FlameGraph 生成火焰图。集成轻量、开销可控,特别适合线上 Kubernetes/Docker 场景的故障排查与持续优化。
33+ [ @Smallfly ] ( https://github.com/iostalks ) :Swift Profile Recorder 是一款「进程内」采样分析器,专为受限容器环境而生:不需要 CAP_SYS_PTRACE,就能在 Linux 与 macOS 上抓取 on-CPU 与 off-CPU 样本,定位真实的性能瓶颈。你只需以 Swift 包集成并启用内置服务器,即可用一次 ` curl ` 拿到已符号化的 Linux perf 格式数据,直接拖到 Speedscope / Firefox Profiler 或用 FlameGraph 生成火焰图。集成轻量、开销可控,特别适合线上 Kubernetes/Docker 场景的故障排查与持续优化。
3434
3535## 代码
3636
You can’t perform that action at this time.
0 commit comments