Skip to content

[QUESTION] RobotCode seems to do a lot of duplicate work #524

@Lakitna

Description

@Lakitna

I have been using RobotCode for a while now on a quite a slow (virtual) machine. Unfortunately, I am stuck using this slow machine due to corporate policies. Because of this machine, I have become quite sensitive to any slowdown in my workflow. A slowdown that takes 100ms on a normal machine takes somewhere between 500ms-10 seconds on mine (depending on time of day, number of active colleagues, the position of the stars, and if the computation genie is feeling naughty or nice).

It seems to me that RobotCode regularly rebuilds it's internal data structures for no reason. The most annoying (on my machine, with my workflow) are:

  1. Rebuilding the tests (tests tab and play button next to test name)
  2. Rebuilding the keyword signatures (autocomplete, ctrl+click, keyword documentation on mouse hover)

With "no reason" I mean that in many cases I can't figure out what triggered it. For example: I'll be working in a .resource file, then just before I save the file the tests tab is suddenly empty because it started rebuilding it. It feels out of nowhere and for no good reason.

Sometimes I notice it more often than other times. I am unsure how often it actually happens.

Does anyone else see similar things?

Desktop (please complete the following information):

  • VS Code Version: 1.105.1
  • RobotCode Version: 2.0.1
  • OS: Windows 11
  • Python Version: 3.13.2
  • RobotFramework Version: 7.2
  • Additional tools: Robocop

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions