D365 Performance Timer and Debug execution time

D365 Tech Support Forums Finance and Operations Performance D365 Performance Timer and Debug execution time

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #981
    CrypticCallback808
    Participant

      I have a custom form that is very slow to open as well as a some custom functionality that is slow that I am currently debugging. Is there a good way to see what part of my process is taking up the most time or is the best approach truly to debug and step through the process manually reviewing the code?

      #1007
      FitVibes24
      Participant

        1. Debug and look for areas of slowness. If you need to manually set timers to see where most of the time is going. You can do that like this:

        int startTime, endTime;

        startTime = System.Environment::TickCount;

        endTime = System.Environment::TickCount;

        info(strFmt(‘Table creation took %1 seconds’, ((endTime – startTime)/1000)));

        2. You can use the performance timer. Appended to the URL “&debug=develop” this will give you a new break down of where the time is going on the form load.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.
      D365 Tech Support