Monday, April 12, 2010

Performance measurement

My favorite approach to measure performance of my code in AX is WinAPI::getTickCount() method. I find it as the most precise and simple way to do a quick measurement. Code profiler measures performance quite well, however it takes much more time to get the results.
How do you measure performance of your code in AX?

Example:
int timeInterval;
;

timeInterval = WinAPI::getTickCount();
doSomething();
timeInterval = WinAPI::getTickCount() - timeInterval;

5 comments:

  1. Thanks to my father who shared with me concerning this weblog,
    this blog is really awesome.

    Here is my webpage; filing bankruptcy in florida

    ReplyDelete