Skip to content

Reduce number of screen captures across all functions #27

Description

@ElectricityMachine

According to some recent profiling runs, screen captures take a significant amount of time, repeated multiple times per function. This explains why click_camera() is so slow on uncontrolled signals, because it captures the screen a total of 4 times. Screen captures are expensive, thus, reducing the number of captures would lead to an increase in performance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions