When something is slow, heavy, or janky, capture a real profiler trace before changing any code. The instinct — especially an AI agent's — is to reason about which line is the culprit and optimise it; that reasoning is plausible and frequently wrong. The skill is twofold — reach for a trace (Apple I
When something is slow, heavy, or janky, capture a real profiler trace before changing any code. The instinct — especially an AI agent's — is to reason about which line is the culprit and optimise it; that reasoning is plausible and frequently wrong. The skill is twofold — reach for a trace (Apple Instruments Time Profiler, os_signpost intervals, perf, Tracy, Chrome tracing, OpenTelemetry spans) b