Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Microsoft introduced Sampling Profiling in Business Central 2022 release wave 1 (AKA BC20) after having introduced Instrumentation Profiling in Business Central 2021 release wave 2 (AKA BC19). Profiling allows you to collect data about performance and analyze this data with the goal of optimizing a certain area in the code or a certain process.

The AL Profiler for the AL Language extension for Microsoft Dynamics 365 Business Central 2022 release wave 1 (BC20) offers two types of profiling: instrumentation profiling and sampling profiling. Both types of profiling are based on a snapshot of running code. The instrumentation profiling is more accurate and provides more insight. The sampling profiling is less accurate but can provide faster insights into performance trends on code. 

Source: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-al-profiler-overview

Profiling

...

Mobile WMS requests

The above methods are useful to analyze the performance of time-consuming processes done directly in the web client like Calculate Plan or generating reports or even re-processing requests from the Mobile Document Queue. However, re-processing requests should only be done for Lookups and GetPickOrders and other read-only document types. If you re-process PostPickOrder or other read/write document types, you will risk getting transactions posted twice with undesirable results.

To analyze the performance of any kind of Mobile Request you can enable automatic profiling for selected Mobile Users or Mobile Document Types:

The profiler will automatically store Sampling Profiling data for each request while it is enabled for either the Mobile User or the Mobile Document Type.

Enabling the profiler will only last for 15 minutes at a time and you can disable the profiler again if you wish to stop it earlier.

...

Filter by label (Content by label)
showLabelsfalse
max5
spacesTFSK
showSpacefalse
sortmodified
reversetrue
typepage
excludeCurrenttrue
cqllabel = "troubleshooting" and label = "bc" and space = "TFSK"
labelsMobiControl lockdown locked administrator


Version History

VersionChanges
MOB5.40Introduced