Implement benchmarking