Skip to content

Commit 444abb6

Browse files
authored
fix #5169
1 parent 0472ad6 commit 444abb6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Reports/2025/#354-2025.10.13.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929

3030
> 开发过程中常用的工具,及一些新工具的介绍
3131
32+
### [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 场景的故障排查与持续优化。
34+
3235
## 代码
3336

3437
> 库,代码段,开源app

0 commit comments

Comments
 (0)