presto-benchmark-driver/src/main/java/io/prestosql/benchmark/driver/BenchmarkDriver.java/BenchmarkDriver/BenchmarkDriver
class BenchmarkDriver:    public BenchmarkDriver(
            BenchmarkResultsStore resultsStore,
            ClientSession clientSession,
            Iterable<BenchmarkQuery> queries,
            int warm,
            int runs,
            boolean debug,
            int maxFailures,
            Optional<HostAndPort> socksProxy)
    {
        this.resultsStore = requireNonNull(resultsStore, "resultsStore is null");
        this.clientSession = requireNonNull(clientSession, "clientSession is null");
        this.queries = ImmutableList.copyOf(requireNonNull(queries, "queries is null"));

        queryRunner = new BenchmarkQueryRunner(warm, runs, debug, maxFailures, clientSession.getServer(), socksProxy);
    }