Author Topic: The Smart-Package-Robot Speed-Table  (Read 183 times)

0 Members and 1 Guest are viewing this topic.

Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 928
  • User-Rate: +30/-4
    • it-berater
The Smart-Package-Robot Speed-Table
« on: October 15, 2020, 08:35:36 PM »
I guess most users have never seen that it even exists.
Its hidden behind the DMP.-Command.
You may know "DMP.6" which will give you a Picture of the STACK.
But using "DMP.1" you will get the "Speed Table" of the currently running Script.

It shows for every executed Line:
- how many CPU Ticks it has needed totally
- how often it was executed

Also you can see all Macros expanded. Therefore this is a nice helper in debugging Scripts.
Because you can just look "If a line was executed or not" and even how often.
You will also see which parts of the Script need most time.

As you can see in the Script below, an empty line needs on my computer between 14 and 30 CPU-Ticks including the Time for the Single-Step Debug in the Editor. Do not forget to compile as EXE before doing real measurement about Speed. Because the Editor will add too much tolerance to all commands.
« Last Edit: October 15, 2020, 08:43:35 PM by Theo Gottwald »