I have an PyQt5 script that reads values for sensors every three seconds. The system being monitored changes slowly so dropping a second here and there isn’t a big deal.
However I am running on a mac (just upgraded to 11.1 ) which doesn’t appear to-be very generous with the resources it gives to python. The Y axis in plot (below) is of the difference in time between samples, the X axis is table indexes not seconds. In same cases the time between QTimer timeouts is in excess of 40s. This despite the process running the PyQt5 script having almost 100% of a cpu. The longer the script runs the less responsive to user input it becomes
The GUI is just consists of 3 pygtgraphs
I experienced similar behaviour in earlier version macOS. Is this a ploy by Apple to get developers to write native applications?