ArtificialQualia / PyEveLiveDPS

PyEveLiveDPS (PELD) is a live DPS calculator and grapher for EVE Online
GNU General Public License v3.0
160 stars 27 forks source link

Reduce CPU usage while there is no log input #19

Closed ArtificialQualia closed 7 years ago

ArtificialQualia commented 7 years ago

Currently the graph redraws every animation cycle regardless of if there is incoming data.

The usage isn't too high, but users will expect the program to be using less while it's 'not doing anything' from their point of view. It's also a good practice in general.

We can either try to slow down the animation while there is no input, or we can turn on blitting, but only while there is no input since that breaks the graph if used in general. Needs further testing to determine best method.