presto-benchmark/src/main/java/io/prestosql/benchmark/SqlTopNRowNumberBenchmark.java/SqlTopNRowNumberBenchmark/main
class SqlTopNRowNumberBenchmark:    public static void main(String[] args)
    {
        LocalQueryRunner localQueryRunner = createLocalQueryRunner(ImmutableMap.of("resource_overcommit", "true"));
        for (String function : ImmutableList.of("row_number", "rank")) {
            for (String partitions : ImmutableList.of("orderkey, partkey", "partkey", "linestatus")) {
                for (int topN : ImmutableList.of(1, 100, 10_000)) {
                    new SqlTopNRowNumberBenchmark(localQueryRunner, function, partitions, topN).runBenchmark(new SimpleLineBenchmarkResultWriter(System.out));
                }
            }
        }
    }