performance-summary

Summarize and compare operator performance results from result.json files.

258|48|Updated Jun 22, 2020
One-click install
npx skills add https://github.com/mindspore-ai/akg --skill performance-summary-mindspore-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-summary
Source: https://github.com/mindspore-ai/akg/tree/main/akg_agents/python/akg_agents/op/resources/skills/performance-summary
Command: npx skills add https://github.com/mindspore-ai/akg --skill performance-summary-mindspore-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

汇总和对比多算子的性能测试结果,帮助用户快速得到性能对比、发现异常并提出优化目标。

Core Features & Use Cases

  • 自动汇总验证目录中的结果文件 result.json,提取 latency_ms、throughput、memory_usage_mb、speedup 指标。
  • 生成对比表格并标记最优/最差、检测异常点。
  • 输出可直接用于报告的分析和优化建议模板。

Quick Start

指定要对比的算子集合,系统将汇总性能结果并生成对比报告。

Frequently Asked Questions about performance-summary

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a performance comparison table from multiple operator benchmark results?

Generating a performance comparison table requires aggregating result.json files from verify_<op_name> directories. The summary process extracts latency_ms, throughput, memory_usage_mb, and speedup metrics to build the comparison table and detect anomalies.

What metrics are extracted when comparing kernel performance?

Metrics extracted for kernel performance comparison include latency_ms, throughput, memory_usage_mb, and speedup. These metrics identify best and worst results and detect abnormal performance points across operators.

Can I automatically generate optimization recommendations from operator benchmark data?

Yes, optimization recommendations are automatically generated from operator benchmark data. The performance summary outputs analysis notes and optimization suggestion templates based on the aggregated speedup and latency metrics.

Does the performance summary work with any specific file structure for benchmarking workflows?

The performance summary requires the verify_<op_name>/result.json file structure for benchmarking workflows. It reads these specific result files to extract performance metrics and generate the final comparison report.

What is the best way to summarize multiple operators' performance results for a report?

The best way to summarize multiple operators' performance results is using an automated aggregation tool that reads result.json files. It extracts key metrics, generates a comparison table, and outputs ready-to-use analysis notes and optimization recommendations.