What's New: Analyze Performance Issues with Scheduled Profiles (2024 release wave 2)
Scheduled profiles in Business Central (2024 release wave 2) capture performance profiles automatically in the background based on rules, including for web service calls. The video demos setting up a profile schedule and analyzing the captured results, and contrasts this with the interactive in-client profiler.
- Introduction and Background on In-Client Performance Profiling
- Demonstrating In-Client Performance Profiler
- Challenges with Interactive Profiling
- Introducing Scheduled Profiles
- Accessing Scheduled Profiles Feature
- Setting Up a Profile Schedule
- Performing Tasks and Viewing Results
- Analyzing Captured Profiles and Recommendations
- Related Features and Resources
Overview
The video recaps the in-client performance profiler introduced in 2022 release wave 1 and shows its limits: capture is interactive, needs the user to cooperate, and cannot cover web service calls or background sessions such as job queues. The presenter then introduces scheduled profiles, which capture profiles non-interactively in the background according to defined rules. The release is described as introducing scheduled profiles, with a preview disclaimer.
The demo covers opening the Profile Schedules page, creating a schedule, performing tasks, and reviewing the results on the Performance Profiles page. Results look the same as in the in-client profiler, with technical information and call tree analysis. The video says the feature mainly targets consultants and support, and mentions opening Visual Studio Code from the web client to inspect code.
Key points
- The in-client profiler is interactive only: it cannot profile web service calls or background sessions like job queues, and needs the user to help capture the profile.
- Scheduled profiles capture performance profiles automatically in the background based on defined rules, and support both user actions and web service calls.
- A profile schedule sets: enable/disable, start and end times, user selection, profile type (browser activity or background tasks), sampling frequency, activity duration threshold, and retention period.
- The activity duration threshold defines how slow an activity must be before profiling starts; the demo lowered it to 100.
- Captured profiles are saved on the service and kept for a configurable retention period before deletion.
- The Performance Profiles page lists all captured profiles; opening profiles from a specific profile schedule filters them to that schedule. The results view matches the in-client profiler, including call tree analysis.
- The video says the feature mainly targets consultants and support.
Features
| Feature | Status | At |
|---|---|---|
| In-Client Performance Profiler | status not stated, demoed | 0:05 |
| Scheduled Profiles | status not stated, demoed | 4:22 |
| Profile Schedule Configuration | status not stated, demoed | 6:03 |
| Performance Profiles Page | status not stated, demoed | 8:44 |
| Technical Information and Call Tree Analysis | status not stated, demoed | 2:20 |
| Opening Visual Studio Code from Web Client | status not stated | 11:03 |
AL objects mentioned
As heard in the captions. A name that matches one object page by exact type and name links to it; the others stay as named.
- page “Performance Profiles” at 8:44
- page “Profile Schedules” at 5:23
- page “Profile Schedule” at 6:03
- other “page extension” at 2:20
Not found in BC28-30: page “Performance Profiles”, page “Profile Schedules”, page “Profile Schedule”.
Quotes
- 0:05 “five releases ago in 2022 release way one we launched the in client performance profile a very powerful tool for investigating performance issues across”
- 3:00 “one of the challenges with the incline performance profiler that we just saw is that capturing a performance profile is interactive”
- 4:22 “this release introduces schedule profiles so with these you can capture performance profiles automatically and non-interactively in the background based on well defined rules”
- 5:03 “it also gives us the ability to support both user actions but also web service calls”
- 7:04 “you can select uh what type that you want to profile so it can be activity in the browser if I’m clicking around opening”
- 7:24 “you can set the activity duration threshold that’s basically uh how small uh or how slow should things be H before we start profiling”
- 10:26 “use the new capability of scheduling profile captures so that they can run in the background this is mainly targeting consultants and support”
Disclaimers in the video
- 4:22 preview: this release introduces schedule profiles
Presenters (as heard): Peter Boring.
