benchmark for match, and modulo in the runtime