perf-report
Generate and compare Unreal performance reports from .utrace / Unreal Insights exports. Use for frame-time analysis, GameThread/RenderThread/GPU hotspot summaries, jank clustering, archive management, and regression comparison.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- perf-report
- description
- Generate and compare Unreal performance reports from .utrace / Unreal Insights exports. Use for frame-time analysis, GameThread/RenderThread/GPU hotspot summaries, jank clustering, archive management, and regression comparison.
03 SKILL.md 正文
Unreal Perf Report Skill
Purpose
Turn Unreal .utrace or Unreal Insights-derived data into a concise Markdown performance report with supporting charts and an optional archived history.
This skill is project-neutral. Discover helper scripts, trace paths, report paths, and custom scope names from the current repository and trace data.
Inputs
.utracefiles, usually from a packaged build or editor trace.- Optional converted SQLite
.db/.insights.db. - Optional exported hotpath text, JSON summaries, or GPU flamegraph images.
- Optional archive index for comparing historical reports.
Discovery
Before analysis:
- Search the repo for existing helpers such as
generate_perf_report.*,dump_perf_data.py,Tools/UTrace/, orSaved/PerfReports/. - If no helper exists, use Unreal Insights/utrace CLI or Python SQLite queries directly.
- Do not assume executable names, packaged game names, device IDs, or custom scope prefixes.
Report Workflow
- Locate or request the
.utracesource. - Convert/export raw data when needed: summary, frame stats, jank frames, global timers, and per-frame hotpaths.
- Prefer structured JSON/CSV/SQLite tables over parsing free text.
- Analyze GameThread, RenderThread, and GPU separately when data exists.
- Cluster jank frames by repeated hotspot/root scope, phase, or frame range.
- Generate Markdown report and charts under the repository's discovered report directory, commonly
Saved/PerfReports/. - Archive results by device/time when the repo already has an archive convention or the user asks for history.
Minimum Report Sections
- Trace metadata: source file, duration, frame count, channels available, generated time.
- Frame summary: average, max, p95/p99, distribution buckets.
- Worst frames: top frame table with thread, duration, likely root.
- Hotspots: top cumulative timers per available thread.
- Jank clusters: grouped cause, affected frames, evidence, confidence.
- GPU status: analyzed if data exists; otherwise state the missing channel/export.
- Recommendations: data-backed and ranked by expected impact/risk.
GPU Notes
GPU detail availability varies by engine version and trace channels. SQLite events may not contain full GPU pass timing. If data is missing, ask for or point to an Unreal Insights GPU track export rather than inventing pass-level conclusions.
Comparison Workflow
When asked to compare reports:
- Discover archive index or list report directories.
- Select the requested baseline/target; if ambiguous, ask for the two report IDs.
- Extract common metrics: FPS/frame times, p95/p99, jank count, top timers, new/disappeared hotspots.
- Produce a comparison Markdown file near the archive or report directory.
- Call out device/build differences separately from performance regressions.
Charting
Use Python with a non-GUI backend such as matplotlib Agg. Keep chart generation reproducible and write image files next to the report. Use fonts available on the machine; if CJK labels fail, fall back to ASCII labels rather than blocking the analysis.
Constraints
- Do not make subjective claims without measured evidence.
- Do not delete trace files or old reports unless the user explicitly asks.
- For huge databases, use bounded SQL queries and timeouts; fall back to top-N or sampled frames.
- Keep custom scope interpretation generic until the current project defines the meaning.
Delivery
Report output path, source trace, generated charts, archive path if any, key bottlenecks, confidence level, and data gaps.
04 同仓库更多 Skills
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
algorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.