community postAL Developmentcommunity - not Microsoftreviewed - checked by Opus

Dynamics 365 Business Central Blog Series: Performance Profiler

This blog series documents the evolution of performance profiling tools in Dynamics 365 Business Central across multiple releases, from the snapshot debugger in BC19 through in-client profiling enhancements in BC25-BC27, including features like sampling intervals, profiler schedules, SQL call visibility, and callstack retrieval.

post Dynamics 365 Lab

Yun Zhu · 2025-11-04 · 377 words · about 2 min

"Choose between more sampling intervals for snapshot and in-client profiling"

Key points

  • Multiple profiling capabilities introduced progressively: snapshot debugger (BC19), in-client performance profiler (BC20), sampling intervals (BC23), profiler schedules (BC25), SQL call information (BC27)
  • Profiler Schedules in BC25 enable easier setup of in-client performance profiling through rules
  • BC27 adds SQL call information viewing in performance profiles and node copying support in the profile editor
  • SessionInformation data type in BC26 allows developers to retrieve the current callstack programmatically

Quotes

  • “Choose between more sampling intervals for snapshot and in-client profiling” (Developers can fine-tune performance analysis granularity for different profiling scenarios)
  • “Set up easier in-client performance profiling with rules (Profiler Schedules)” (Reduces configuration complexity for automated performance profiling across the system)
  • “View SQL call information in performance profiles” (Enables comprehensive database performance analysis alongside AL code profiling)

AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

No source states these links: they share an object, a model read them, or a person found the same subject.

Context

  • Features: AL snapshot debugger profiling, In-client performance profiler, Sampling intervals configuration, Profiler Schedules rules, SQL call information visibility, Profile editor node copying, Callstack retrieval
  • Versions: BC19, BC20, BC23, BC25, BC26, BC27

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.