#2 Benchmarking implemented using switch