mindspore-ai/akg/performance-summary
Claude Code and agent skill by mindspore-ai/akg
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
用于汇总和对比多个算子的性能测试结果。当用户请求汇总多个算子的性能结果、对比算子 benchmark、生成性能报告、分析多个 kernel 的加速比时使用此 Skill。
Install
npx vskill@latest install mindspore-ai/akg/performance-summarySKILL.md
The same SKILL.md was published earlier as mindspore-ai/akg/performance-summary.
性能汇总
汇总和对比多个算子的性能指标。
工作流程
- 收集性能数据
- 使用
read_file读取各算子的verify_<op_name>/result.json - 提取关键指标:latency_ms, throughput, memory_usage_mb, speedup
- 生成对比表格
```
| 算子 | 延迟 (ms) | 吞吐量 | 内存 (MB) | 加速比 | |
|---|---|---|---|---|---|
| relu | 0.15 | 1000 | 128 | 2.3x |
```
- 分析结果
- 找出最优/最差的算子
- 标注性能异常点
- 提出优化目标
- 生成报告
使用模板:## 测试环境 → ## 性能对比 → ## 分析 → ## 优化建议
数据位置
性能结果存储在验证目录中:
verify_<op_name>/result.json- 主要结果verify_<op_name>/profiling.json- 详细性能分析(如有)
关键指标
| 指标 | 说明 | |
|---|---|---|
| latency_ms | 单次执行延迟(毫秒) | |
| throughput | 每秒操作数 | |
| speedup | 相对基准(torch)的加速比 | |
| memory_usage_mb | 峰值内存占用(MB) |
示例
用户: "帮我汇总 relu 和 sigmoid 算子的性能"
Agent 执行:
- 调用
read_file("verify_relu/result.json") - 调用
read_file("verify_sigmoid/result.json") - 提取指标,构建对比表格
- 生成汇总和优化建议
脚本调用
可使用 scripts/collect_metrics.py 批量收集并打印性能汇总:
Skill 验证
使用 --verify 参数验证当前 skill 是否可用:
验证内容包括:
- SKILL.md 文件是否存在且格式正确
- 核心函数是否可调用
- 依赖模块是否可用
- 模拟执行测试
输出示例:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingakg_agents/python/akg_agents/op/resources/skills/performance-summary/SKILL.md
Popularity
- Repository stars
- 259
- Repository forks
- 48
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Oct 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mindspore-ai/akg/performance-summary)