ccidral/tomighty — Issue #55: CPU time optimalization
Author: Visgean
Created: 2012-01-24 02:25:45+00:00
State: open

It seems to me that tomighty is eating CPU for no reason, it seems to me that the update function is called every second which is completely unnecessary (i have this impression from https://github.com/ccidral/tomighty/blob/master/src/main/java/org/tomighty/time/CountdownTimer.java#L37 ), the solution is simple: the update function should be called only every minute unless it is in active state (popup has been activated or time < 1m) because most of the time tomighty is in inactive state and it needs to change the time/icon in tray only once per minute. I would do this by myself but I do not have any experience with java...

Thank you for reading this.