Open
Description
At every end of cycle, a relatively large chunk of time is spent calculating next cycle, which apears to cause a noticeable slowdown. Threading the calculation and resetting the cycle once it's done would look better, but I'm not sure how complex it would be to implement.
Note: these might be induced by debug mode prints and hence irrelevant.