17.03.2008, 15:05 | #1 |
Участник
|
axStart: Starting the code profiler from code
Источник: http://axstart.spaces.live.com/Blog/...C0A0!281.entry
============== The code profiler is a tool that tells you how many milliseconds a line of x++ code need to be executed. This tool is most of time used for analyses of defined scenario of your process. This code profiler runs the code in debug mode. So a process of 10 minutes can take 30 minutes when the code profiler is active. So a large run of 1 hour, reproduce with the code profiler, makes no since. The trick is to profile small part of the process. We can do this with existing macros in AX. #profileBegin('myrun') //mycode #profileEnd Later on you have to calculate the sum and line totals for that run. Give this run a new name, otherwise you don’t get the line, method and class totals. I think this is a bug. Источник: http://axstart.spaces.live.com/Blog/...C0A0!281.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|