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.
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.