Profiling AL performance with snapshot debugger

Important

Some of the functionality described in this release plan has not been released. Delivery timelines may change and projected functionality may not be released (see Microsoft policy). Learn more: What's new and planned

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Aug 1, 2021 Oct 2021

Business value

Performance is top of mind for most customers, especially in the world of online business. Until now, apart from selected, reactive telemetry allowing monitoring of customer tenants, there has not been a proactive way to measure execution performance during development nor when troubleshooting specific customer support cases with performance issues. To address this, we are introducing the ability to capture execution timing as part of a snapshot, and investigate this in Visual Studio Code when replaying the snapshot.

Feature details

Snapshot captures now include a performance profile of the executed code that is captured in the snapshot. Using a new performance profiling editor view in the AL Visual Studio Code extension, developers can then investigate the time spent on execution, either using top-down or bottom-up call stack views.