Add gen to the benchmark.