andygrove opened a new pull request #1766:
URL: https://github.com/apache/arrow-datafusion/pull/1766


   # Which issue does this PR close?
   
   Closes https://github.com/apache/arrow-datafusion/issues/1757.
   
    # Rationale for this change
   To help with benchmark automation and reporting, I would like the benchmark 
results to be written to a JSON file.
   
   # What changes are included in this PR?
   This PR adds a new `--output` argument to the tpch benchmark. When 
specified, a JSON summary file will be written to the specified directory, 
containing the benchmark results.
   
   ## Example JSON output
   
   ```json
   {
     "benchmark_version": "5.0.0",
     "datafusion_version": "6.0.0",
     "num_cpus": 48,
     "start_time": 1644167292,
     "arguments": [
       "benchmark",
       "datafusion",
       "--iterations",
       "1",
       "--path",
       "/mnt/bigdata/tpch/sf100-tbl",
       "--format",
       "tbl",
       "--query",
       "1",
       "--batch-size",
       "4096",
       "-o",
       "/tmp"
     ],
     "query": 1,
     "iterations": [
       {
         "elapsed": 210781.71820099998,
         "row_count": 4
       }
     ]
   }
   ```
   
   # Are there any user-facing changes?
   There is a new `--output` option when running the tpch benchmarks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to