switch benchmarking