if or modulo, what is fastest on AVR?

My first thought is that you do not need to worry about this if you only need a resolution of one second.
Then you have plenty of time to process (other) things. :slight_smile:

Sorry for not answering your question.