GitHub user seancxmao opened a pull request: https://github.com/apache/spark/pull/22499
[SPARK-25489][ML][TEST] Refactor UDTSerializationBenchmark ## What changes were proposed in this pull request? Refactor `UDTSerializationBenchmark` to use main method and print the output as a separate file. Run blow command to generate benchmark results: ``` SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "mllib/test:runMain org.apache.spark.mllib.linalg.UDTSerializationBenchmark" ``` ## How was this patch tested? Manual tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/seancxmao/spark SPARK-25489 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22499.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 #22499 ---- commit e43dda9c279fdffa3293e3ef40897cf06fb7cbfa Author: seancxmao <seancxmao@...> Date: 2018-09-20T15:32:17Z [SPARK-25489] Refactor UDTSerializationBenchmark ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org