Performance Profiler
The Performance Profiler section covers recording and analyzing business process performance in the Business Central client, and scheduling profiling for specific users and activity types. It answers questions about finding bottlenecks, reading call trees and time spent, and sharing or downloading profiles.
- 2Learn pages
- 3videos
Path: Development > Troubleshooting > Troubleshooting in the client > Performance Profiler · tier official · system platform · narrative reviewed (checked by Opus)
Overview
The Performance Profiler helps find why a business process is slow. It records snapshots of all apps and objects involved and shows time spent and call trees, so you can see where the bottleneck is. Profiles can be shared and downloaded.
The scheduled profiler extends this for administrators. Instead of recording by hand, an administrator creates a profiling schedule for specific users and activity types to monitor and diagnose slow processes. Schedules include settings such as sampling frequency and an activity duration threshold. Results can be viewed as analysis with performance metrics or downloaded as profiles.
Start with the Performance Profiler overview to learn the basic recording and analysis flow. Then read the scheduled profiler overview if you need to monitor specific users. The scheduled profiler page references runtime 18 and version 29, both marked as prerelease.
Key points
- The profiler records snapshots of all apps and objects involved in a business process.
- Results show time spent and call trees to identify performance bottlenecks.
- Profiles can be shared and downloaded.
- Administrators can create profiler schedules for specific users and activity types.
- Schedules support settings for sampling frequency and an activity duration threshold.
- Scheduled profiles can be viewed as analysis with performance metrics or downloaded.
- The scheduled profiler page references runtime 18 and version 29, both marked as prerelease.
Learn pages
- Performance Profiler overview: Describes how to use the Performance Profiler page in Business Central to troubleshoot slow processes.
- Performance Profiler records snapshots of business processes, monitoring all apps involved including Microsoft first-party and third-party apps.
- Step: To use Performance Profiler, open the page, click the icon to open it in a separate window, then start recording before performing the slow process.
- Active Apps chart shows which apps were running and their durations, with ability to aggregate by App Name or App Publisher.
- Technical information toggle enables Time Spent by Application Object and Call Tree FastTabs for detailed analysis of objects and methods.
- Time Spent column shows how long an object was active; Samples column shows profiler sampling frequency of the object.
- Self Time in Call Tree shows time spent in a method only; Total Time includes Self Time plus calls from the method.
- Recording can be shared, downloaded as .alcpuprofile file, or cleared to start over; existing profiles can be uploaded.
- In-client Performance Profiler is a simplified version of the AL Profiler used in Visual Studio Code for advanced analysis.
- In the observatory: Page 24 “Performance Profiler”
- Scheduled performance profiler overview: Describes how to use the Profiler Schedules page in Business Central to troubleshoot slow processes across time.
- Status: Performance Profiling MCP proxy available in preview with runtime 18 and version 29
- Records snapshots of processes during defined time slots to diagnose performance issues
- Supports recording of browser activities, background tasks with job queues, and web service calls
- Prerequisite: Administrator users can create schedules for themselves and others; other users only for themselves
- Limit: Maximum schedule duration is one week and maximum retention after completion is one week
- Limit: Debugger cannot attach to a session while profiling schedule is enabled
- Sampling profiler takes samples at evenly spaced intervals; short-lived code may not be captured
- Permissions: Agent-based profiling requires D365 ATTACH DEBUG permission set for profiling another user’s session
- In the observatory: Page 24 “Performance Profiler”
Key facts from Microsoft Learn (CC BY 4.0), in our own words (D106); open the page for the full text.
Videos and posts
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- SQL Statement in AL Profiles (community post): “SQL Statement collection in AL performance profiles available in Business Central 2025 Wave 2”
- Dynamics 365 Business Central: How to check whether the current page/report is standard or customized (community post): “The AL profiler lists active apps and the call tree”
- Business Central 2025 wave 2 (BC27): View SQL call information in performance profiles (community post): “SQL call visibility to performance profiles in both the in-client profiler”
- Dynamics 365 Business Central Blog Series: Performance Profiler (community post): “performance profiling tools in Dynamics 365 Business Central across multiple releases”
- What’s New: Analyze Performance Issues with Scheduled Profiles (2024 release wave 2) (video): “Analyze Performance Issues with Scheduled Profiles performance troubleshooting”
- Snapshot Debugging vs AL Profiler in Business Central — When to Use Each (video): “Snapshot Debugging vs AL Profiler in Business Central”
- What’s New: Capturing SQL Calls in Performance Profiles (2025 release wave 2) (video): “Capturing SQL Calls in Performance Profiles performance profiler”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.