As a side note, it's interesting that rather than this triggering every 1.000 seconds for me, it triggers once every 1.014 seconds every time. Maybe $ticks evaluation takes 14ms to do, but that seems a little high.
$ticks evaluation takes 0 ms, $ticks just has an accuracy of 15 ms, and timers are not accurate anyway