Omega359 commented on code in PR #21707:
URL: https://github.com/apache/datafusion/pull/21707#discussion_r3124126249


##########
benchmarks/sql_benchmarks/README.md:
##########
@@ -0,0 +1,355 @@
+<!---
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+# SQL Benchmarks
+
+This directory contains a collection of benchmarks each driven by a simple 
'.benchmark' text file and sql queries
+that exercise the DataFusion execution engine against a variety of benchmark 
suites. The sql benchmark framework
+is intentionally simple so that new benchmarks and queries can be added 
without touching the core engine.
+
+The sql benchmarks are organized in sub‑directories that correspond to the 
benchmark suites that are commonly used
+in the community:
+
+| Benchmark Suite       | Description                                          
              |
+|-----------------------|--------------------------------------------------------------------|
+| `clickbench`          | ClickBench benchmark                                 
              |
+| `clickbench extended` | 12 additional, more complex queries against the 
Clickbench dataset |
+| `clickbench_sorted`   | ClickBench benchmark using a pre-sorted hits file.   
              |
+| `h2o`                 | The `h2o` benchmark                                  
              |
+| `hj`                  | Hash join benchmark                                  
              |
+| `imdb`                | IMDb benchmark                                       
              |
+| `nlj`                 | Nested‑loop join benchmark                           
              |
+| `smj`                 | Sort‑merge join benchmark                            
              |
+| `sort tpch`           | Sorting benchmarks against the TPC-H lineitem table  
              |
+| `taxi`                | NYC taxi dataset benchmark                           
              |
+| `tpcds`               | TPC‑DS queries                                       
              |
+| `tpch`                | TPC‑H queries                                        
              |
+
+## How it works

Review Comment:
   # does it work?
   cargo bench --bench sql  -- --list
   
   No, that doesn't and as far as I can tell it's not possible. I tried for 
hours to get it to work but if it's possible I don't know how 
(https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options)
   
   That is why I think bench.sh is still required (besides for loading the data)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to