web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How and when to use Code Profiler

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

I am new in to code profiler. Can you please let me know step by step

1. how to use and

2.when used Code Profiler ?

3. What is the advantage of Code Profiler?

4. What is the difference between Trace Parser and Code Profiler?

Please give me more shed on this.

Thanks!

Arpan 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahmoud Hakim Profile Picture
    17,887 on at
  • @rp@n Profile Picture
    30 on at

    Thanks Chaitanya,

    I will practice on this. If any thing doubt i will share screen shots for more clarification.

    Arpan

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Yes, codeprofiler provides us information pertaining to the call stack and execution time consumed by each method(along with parent-child calls). Also even for analyzing code using TraceParser we can launch two instances of TraceParser UI one with client trace & other with server trace and make comparison side by side.

  • @rp@n Profile Picture
    30 on at

    Thanks Chaitanya,

    That means we can say in one sentence TracePaser provide us detail information about queries like you mentioned above but Code Profiler provide us less information in comparison of TraceParser.

    So, we can use any one for analyzing code (which needed) as per business need,

    Is't correct?

    Arpan

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Well it depends on your business requirement that demands whether to use the codeprofiler or traceParser. TraceParser not only provides the execution time(both inclusive and exclusive) but also list of slow running sql queries & queries that are frequently called(with actual values) and also RPC calls(between client and server) details like number of calls and time duration.

  • @rp@n Profile Picture
    30 on at

    Thanks Sukrut,

    I have one query :

    As we know that "Trace Parser" we are using for below purpose mostly :

    1. Long X++ code running

    2. Time consuming SQL queries

    3. To get Client and Server trace individually

    4. Call between client and Server

    As you said "Code Profiler" measure the execution time of each line.

    So, i think Trace Parser is also doing the same thing like "Code Profiler" because without measure each line of code how it will return the exact reasons of long X++ running code and Time consuming code.

    I think the difference only between Trace Parser and Code Profiler is,

    it return individual tarce of Client and Server call which is not in code profilre.

    If any thing else difference please let me know.

    Please verify. Is't correct?

    Arpan

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.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Volodya Profile Picture

Volodya 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans