← Files Unity EssentialsARCHIVED FILE

skills/unity-feature-implementation/specializations/performance.md

844 Bytes · Oct 2, 2026 · 00:29 UTC

↓ Download file

# Performance Specialization

## Use when

Use when the explicit task is profiling, optimization, allocation reduction,
rendering optimization, network optimization, or performance regression work.

## Inspect first

- target hardware
- frame budget
- baseline profiler data
- CPU, GPU, memory, rendering, or network bottleneck
- representative scene
- current quality settings
- build type

## Implementation rules

- Measure before changing.
- Change one factor at a time.
- Preserve behavior.
- Avoid speculative micro-optimization.
- Document tradeoffs.
- Prefer fixes at the actual bottleneck.
- Re-measure after changes.
- Keep diagnostics removable.

## Validation

- before and after metrics
- representative hardware
- representative scene
- frame timing
- allocations
- memory
- draw calls or overdraw
- network traffic when relevant

SHA-256: 373d1fc4153435af8b8906c346b48ed1cee4e225b2aa6e3e354b5b1fb2a31f39