This PR adds the ability to run performance test locally as a stand alone program that reports the results to the console:
```
$ bin/run --help
spark-sql-perf 0.2.0
Usage: spark-sql-perf [options]
-b <value> | --benchmark <value>
the name of the benchmark to run
-f <value> | --filter <value>
a filter on the name of the queries to run
-i <value> | --iterations <value>
the number of iterations to run
--help
prints this usage text
$ bin/run --benchmark DatasetPerformance
```
Author: Michael Armbrust <michael@databricks.com>
Closes #47 from marmbrus/MainClass.
4 lines
91 B
Bash
Executable File
4 lines
91 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ARGS="runMain com.databricks.spark.sql.perf.RunBenchmark $@"
|
|
build/sbt "$ARGS" |