refactor benchmarks