Performance: Debugging with {@debug}
LOW IMPACT
This affects development speed and debugging efficiency but has minimal impact on page load or rendering performance in production.
{@debug variable}console.log(variable);
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Using console.log for debugging | 0 | 0 | 0 | [!] OK |
| Using {@debug} in development | 0 (console only) | 0 | 0 | [OK] Good for dev |
| Leaving {@debug} in production | 0 (no effect) | 0 | 0 | [OK] Ignored |