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
hi @rp@n
you can check this links also
dynamicsaxsol.blogspot.ae/.../code-profiler-in-dynamics-ax-2012.html
mybhat.blogspot.ae/.../performance-tuning-using-trace-parser.html
Thanks Chaitanya,
I will practice on this. If any thing doubt i will share screen shots for more clarification.
Arpan
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.
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
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.
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
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156