measure number of mod operations per second