Home / Market / swiftui performance audit

swiftui performance audit

Audit SwiftUI performance issues from code review and profiling evidence.

skill★ 508340 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: swiftui-performance-audit description: Audit SwiftUI performance issues from code review and profiling evidence. risk: safe source: "Dimillian/Skills (MIT)" date_added: "2026-03-25"

---

SwiftUI Performance Audit

Quick start

Use this skill to diagnose SwiftUI performance issues from code first, then request profiling evidence when code review alone cannot explain the symptoms.

When to Use

Workflow

  1. Classify the symptom: slow rendering, janky scrolling, high CPU, memory growth, hangs, or excessive view updates.
  2. If code is available, start with a code-first review using references/code-smells.md.
  3. If code is not available, ask for the smallest useful slice: target view, data flow, reproduction steps, and deployment target.
  4. If code review is inconclusive or runtime evidence is required, guide the user through profiling with references/profiling-intake.md.
  5. Summarize likely causes, evidence, remediation, and validation steps using references/report-template.md.

1. Intake

Collect:

Ask the user to classify the issue if possible:

For the full profiling intake checklist, read references/profiling-intake.md.

2. Code-First Review

Focus on:

Use references/code-smells.md for the detailed smell catalog and fix guidance.

Provide:

3. Guide the User to Profile

If code review does not explain the issue, ask for runtime evidence:

Use references/profiling-intake.md for the exact checklist and collection steps.

4. Analyze and Diagnose

5. Remediate

Apply targeted fixes:

Use references/code-smells.md for examples, Observation-specific fan-out guidance, and remediation patterns.

6. Verify

Ask the user to re-run the same capture and compare with baseline metrics. Summarize the delta (CPU, frame drops, memory peak) if provided.

Outputs

Provide:

Use references/report-template.md when formatting the final audit.

References

Limitations