Benchmarking example code