Announcements
No record found.
Hi
How will do Performance optimization in D365FO?
Please give me more shed on this
Performance of D456FO will surely be amazing, unfortunately we're currently on mere D365FO. :-)
But seriously - what do you want to optimize?
Hi @rp@n,
Can you elaborate? Are you facing currently performance issues?
If you are just looking for generic information, you can read the performance section within the Microsoft Documentation: docs.microsoft.com/.../trace-parser
What is the difference between code profiler and trace parser??
Which one is used for performance optimization??
Code Profiler measures the execution time of individual lines of code.it helps to identify performance bottlenecks in the AX code. (ref: dynamics-ax-blog.blogspot.com/.../performance-code-profiler-in-ax-2012.html)
Trace Parser ships with Microsoft Dynamics AX. Trace Parser consolidates information from multiple sources, such as remote procedure calls (RPCs) and Microsoft SQL Server, to provide an integrated view of application performance at run time (Ref: docs.microsoft.com/.../tools-for-monitoring-performance)
both tools do the same thing but basically, Trace Parser covering a wide area has more visibility, than Code Profiler.
Trace parser can help you identify performance bottlenecks, such as long-running X++ methods, time-consuming SQL queries, The information provided by it is more complete than code profiler.
In D365FO, the trace parser replaces the code profiler in AX2012, you can simply use trace parser to do the job of code profiler.
Hi @rp@n, Changed the typo from D465FO to D365FO ;-)
We also have some tools in LCS and I would use it as the first-line tool for performance\issue investigations.
docs.microsoft.com/.../performancetroubleshooting
Helo Will,
So, in D365fo , code profiler concept is no more?
Will,
As you said about Trace Perser " The information provided by it is more complete than code profiler."
Kindly elaborate me what kind of information we are getting in Teace perser , which is not in Code profiler?
The code profiler was an option within the development environment of AX 2012. As Dynamics 365 is using Visual Studio for development, the embedded tool is not available.
Anyway, the Trace parser has not only the option to measure the code execution, but also gives information about the database execution times and a hint on performance used by caching. You might consider the Trace Parser as a "code profiler + database analysis"
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 692
André Arnaud de Cal... 454 Super User 2026 Season 1
Syed Haris Shah 311 Super User 2026 Season 1