iOS/macOS 27 introduces the StateReporting API and look-back trace collection tools, letting developers annotate game state (levels, graphics settings, network) directly into Metal performance traces and retroactively collect hours of performance data without pre-instrumentation.
⢠StateReporting lets you contextualize FPS drops with real game state (e.g., which level, which graphics preset) so you know exactly what the game was doing when a hitch occurred
⢠Look-back collection on iOS and the new `metalperftrace` CLI on macOS let you pull hours of already-recorded performance data after a session ends ā no need to plan ahead
⢠JSON output from `metalperftrace` enables automated regression pipelines and AI-assisted triage of performance regressions across builds