GitHub user wangyum opened a pull request: https://github.com/apache/spark/pull/22491
[SPARK-25483][TEST] Refactor UnsafeArrayDataBenchmark to use main method ## What changes were proposed in this pull request? Refactor `UnsafeArrayDataBenchmark` to use main method. Generate benchmark result: ```sh SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "sql/test:runMain org.apache.spark.sql.execution.benchmark.UnsafeArrayDataBenchmark" ``` ## How was this patch tested? manual tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/wangyum/spark SPARK-25483 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22491.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22491 ---- commit 5bb5f0806bce127f07eefd337bc457912e9f5075 Author: Yuming Wang <yumwang@...> Date: 2018-09-20T12:13:52Z Refactor UnsafeArrayDataBenchmark ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org