DRY up the benchmarks a bit