use of com.facebook.presto.benchmark.BenchmarkSuite in project presto by prestodb.
the class HiveBenchmarkQueryRunner method main.
public static void main(String[] args) throws IOException {
String outputDirectory = requireNonNull(System.getProperty("outputDirectory"), "Must specify -DoutputDirectory=...");
File tempDir = Files.createTempDir();
try (LocalQueryRunner localQueryRunner = createLocalQueryRunner(tempDir)) {
new BenchmarkSuite(localQueryRunner, outputDirectory).runAllBenchmarks();
} finally {
FileUtils.deleteRecursively(tempDir);
}
}
Aggregations