Skip to main content

profile-application-performance

Profile application performance with a representative workload, synchronized measurements, call-path evidence, and before-after verification. Use when latency, throughput, CPU, memory, I/O, or cost needs improvement.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
profile-application-performance
category
code
description
Profile application performance with a representative workload, synchronized measurements, call-path evidence, and before-after verification. Use when latency, throughput, CPU, memory, I/O, or cost needs improvement.
# profile-application-performance Measure the bottleneck before optimizing. ## When to use - Use after a performance symptom and success threshold are defined. - Do not profile production with unsafe overhead, sensitive captures, or unapproved load. ## Procedure 1. Define journey, workload, environment, version, metric, percentile, baseline, and target. 2. Reproduce with production-shaped data and realistic concurrency while controlling warmup and cache state. 3. Synchronize request traces, CPU profiles, allocation or heap data, I/O, database, network, runtime, and host metrics. 4. Identify where elapsed time or resource use accumulates across the critical path. 5. Form a ranked hypothesis and choose the smallest discriminating experiment. 6. Change one material factor while preserving correctness and recording side effects. 7. Repeat enough trials to compare distributions, not a single fast run. 8. Run correctness, load, and regression checks and monitor after rollout. ## Done - A performance profile report records representative workload, baseline, synchronized evidence, bottleneck, and hypothesis - Repeated before-after tests verify target improvement, correctness, resource tradeoffs, and production monitoring
在 GitHub 查看