Sporadic performance issues with keywords.

In some cases, my custom keyword takes a lot of time to execute (15s), while in other cases, it takes just 1ms.
My project is constructed with 3 layers:

  1. The low layer is built with C++.
  2. The middle layer is implemented in Python and utilizes the DLLs generated from the C++ project.
  3. The robot layer receives keywords delivered by the middle layer.
    Are there any tools available to help me investigate or find the root cause of this sporadic issue?

Iā€™d start by looking at the RF logs of a run in which the issue occurred and track down the keyword where the issue occurs.

From there it depends on what you find, but adding some debug / trace logging on the Python side should help you isolate the issue further.

1 Like