Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Diagnoses SwiftUI performance issues — slow rendering, janky scrolling, high CPU/memory — through code review and Instruments profiling guidance.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/profiling-intake.md
1# Profiling intake and collection checklist23## Intent45Use this checklist when code review alone cannot explain the SwiftUI performance issue and you need runtime evidence from the user.67## Ask for first89- Exact symptom: CPU spike, dropped frames, memory growth, hangs, or excessive view updates.10- Exact interaction: scrolling, typing, initial load, navigation push/pop, animation, sheet presentation, or background refresh.11- Target device and OS version.12- Whether the issue was reproduced on a real device or only in Simulator.13- Build configuration: Debug or Release.14- Whether the user already has a baseline or before/after comparison.1516## Default profiling request1718Ask the user to:19- Run the app in a Release build when possible.20- Use the SwiftUI Instruments template.21- Reproduce the exact problematic interaction only long enough to capture the issue.22- Capture the SwiftUI timeline and Time Profiler together.23- Export the trace or provide screenshots of the key SwiftUI lanes and the Time Profiler call tree.2425## Ask for these artifacts2627- Trace export or screenshots of the relevant SwiftUI lanes28- Time Profiler call tree screenshot or export29- Device/OS/build configuration30- A short note describing what action was happening at the time of the capture31- If memory is involved, the memory graph or Allocations data if available3233## When to ask for more3435- Ask for a second capture if the first run mixes multiple interactions.36- Ask for a before/after pair if the user has already tried a fix.37- Ask for a device capture if the issue only appears in Simulator or if scrolling smoothness matters.3839## Common traps4041- Debug builds can distort SwiftUI timing and allocation behavior.42- Simulator traces can miss device-only rendering or memory issues.43- Mixed interactions in one capture make attribution harder.44- Screenshots without the reproduction note are much harder to interpret.45