AL Perf v2 Drops Friday. Here's What Changed.
AL Perf v2 enriches its AI analysis of AL performance profiles by sending the call tree, hotspot source code, SQL queries grouped by table and tree-sitter AST summaries along with the hotspot summary. In blind tests on five production profiles, Sonnet with this data beat Opus in every enriched configuration at roughly a third of the cost.
Open in Claudehttps-sshadows-dk-blog-al-perf-v2-deep-analysis--d92d07ddf3.mdRead the original on SShadowS

post SShadowS
"The AI narrates and contextualizes. It does that well. Version 2 sends a lot more."
Key points
- Version 1 stripped the call tree, so the AI saw symptoms but not causes; v2 adds call tree, source, grouped SQL and per-method structure data
- Sonnet with enriched data won 5-0 against Opus in every enriched configuration; the tuned final setup averaged 9.05 versus 8.47 for Opus
- Prompts with expansive hints worked better than restrictive rules, which made output blander
- A full analysis costs about 0.50 USD per profile with Sonnet versus 1.40 USD with Opus
- Profiles can be uploaded to the web tool or sent via the BC companion extension; adding a source zip enables business logic review and code fixes
Quotes
- “The AI narrates and contextualizes. It does that well. Version 2 sends a lot more.” (Explains the leap from summary-only to detailed data that enables deeper analysis)
- “The final configuration scores 5-0-0 against Opus. Sonnet consistently finds things Opus misses.” (Demonstrates measurable superiority of the new approach through systematic testing)
- “Turns out, telling an AI to be careful is a great way to make it boring.” (Counterintuitive finding about prompt design that prioritizes breadth and hints over constraints)
Context
- Features: call tree analysis, source code analysis, SQL query grouping, AST summaries, cross-extension pattern detection, business logic review, AI-powered performance recommendations
- Versions: 2
Source: SShadowS, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.