Monday, August 1, 2011

Improve the performance in Dynamics Ax - Code profiler

Dear All,


Recently I explored one of the excellent features of Dynamics Ax called Code Profiler, Just thought of sharing this useful info. The Code Profiler measures and records the execution of each line of code, the time taken by each line ,the Parent(caller) and the child of the each lines, all these are saved to database for review, also it has variety of options to review the recorded information , we can also use it programmatically also. It’s very easy to understand and use, very easy If you are familiar with SQL Profiler or some Code Coverage Tools

We can use this tool to find and remove the performance bottlenecks to improve the performance of whole application, also its useful to understand the flow of others code quickly.

Go here to learn more about code profiler http://msdn.microsoft.com/en-US/library/aa847037.aspx


Note:

Since it is saving enormous amount of records to database We shouldn’t use this in Live environment, also in development environment we should clear the unnecessary old data.

please share if you have any comments or more info on this.