really tiny timer for ruby code, nothing fancy