getChan commented on issue #15601:
URL: https://github.com/apache/datafusion/issues/15601#issuecomment-2781463692

   FWI. tpch benchmark. main vs remove round-robin repartition
   
   
   ```sh
   --------------------
   Benchmark tpch_sf1.json
   --------------------
   ┏━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
   ┃ Query        ┃     main ┃ remove-redundant-repartition ┃        Change ┃
   ┡━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
   │ QQuery 1     │ 105.18ms │                     106.07ms │     no change │
   │ QQuery 2     │  28.47ms │                      26.17ms │ +1.09x faster │
   │ QQuery 3     │  42.79ms │                      43.46ms │     no change │
   │ QQuery 4     │  36.93ms │                      31.54ms │ +1.17x faster │
   │ QQuery 5     │  65.51ms │                      59.62ms │ +1.10x faster │
   │ QQuery 6     │  21.54ms │                      21.78ms │     no change │
   │ QQuery 7     │  83.34ms │                      77.67ms │ +1.07x faster │
   │ QQuery 8     │  65.30ms │                      56.90ms │ +1.15x faster │
   │ QQuery 9     │  83.94ms │                      78.31ms │ +1.07x faster │
   │ QQuery 10    │  69.53ms │                      66.68ms │     no change │
   │ QQuery 11    │  21.54ms │                      18.80ms │ +1.15x faster │
   │ QQuery 12    │  43.15ms │                      43.19ms │     no change │
   │ QQuery 13    │  48.07ms │                      47.69ms │     no change │
   │ QQuery 14    │  35.06ms │                      31.37ms │ +1.12x faster │
   │ QQuery 15    │  50.69ms │                      50.59ms │     no change │
   │ QQuery 16    │  18.80ms │                      17.95ms │     no change │
   │ QQuery 17    │  94.81ms │                      84.81ms │ +1.12x faster │
   │ QQuery 18    │ 123.40ms │                     128.29ms │     no change │
   │ QQuery 19    │  53.18ms │                      50.53ms │     no change │
   │ QQuery 20    │  43.80ms │                      41.31ms │ +1.06x faster │
   │ QQuery 21    │ 106.06ms │                     100.23ms │ +1.06x faster │
   │ QQuery 22    │  19.11ms │                      20.52ms │  1.07x slower │
   └──────────────┴──────────┴──────────────────────────────┴───────────────┘
   ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
   ┃ Benchmark Summary                           ┃           ┃
   ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
   │ Total Time (main)                           │ 1260.20ms │
   │ Total Time (remove-redundant-repartition)   │ 1203.49ms │
   │ Average Time (main)                         │   57.28ms │
   │ Average Time (remove-redundant-repartition) │   54.70ms │
   │ Queries Faster                              │        11 │
   │ Queries Slower                              │         1 │
   │ Queries with No Change                      │        10 │
   └─────────────────────────────────────────────┴───────────┘
   --------------------
   Benchmark tpch_sf10.json
   --------------------
   ┏━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
   ┃ Query        ┃      main ┃ remove-redundant-repartition ┃        Change ┃
   ┡━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
   │ QQuery 1     │  916.23ms │                     930.22ms │     no change │
   │ QQuery 2     │  163.66ms │                     163.79ms │     no change │
   │ QQuery 3     │  398.11ms │                     417.59ms │     no change │
   │ QQuery 4     │  439.78ms │                     422.63ms │     no change │
   │ QQuery 5     │  655.12ms │                     665.88ms │     no change │
   │ QQuery 6     │  156.36ms │                     150.67ms │     no change │
   │ QQuery 7     │  896.92ms │                     869.65ms │     no change │
   │ QQuery 8     │  704.83ms │                     654.04ms │ +1.08x faster │
   │ QQuery 9     │ 1093.65ms │                    1044.26ms │     no change │
   │ QQuery 10    │  621.04ms │                     609.54ms │     no change │
   │ QQuery 11    │  141.01ms │                     130.70ms │ +1.08x faster │
   │ QQuery 12    │  328.55ms │                     333.02ms │     no change │
   │ QQuery 13    │  631.84ms │                     689.59ms │  1.09x slower │
   │ QQuery 14    │  257.19ms │                     250.65ms │     no change │
   │ QQuery 15    │  398.20ms │                     404.58ms │     no change │
   │ QQuery 16    │  121.26ms │                     106.08ms │ +1.14x faster │
   │ QQuery 17    │ 1058.33ms │                    1047.70ms │     no change │
   │ QQuery 18    │ 1771.89ms │                    1792.38ms │     no change │
   │ QQuery 19    │  467.40ms │                     438.24ms │ +1.07x faster │
   │ QQuery 20    │  388.71ms │                     389.66ms │     no change │
   │ QQuery 21    │ 1314.77ms │                    1341.72ms │     no change │
   │ QQuery 22    │  147.06ms │                     154.66ms │  1.05x slower │
   └──────────────┴───────────┴──────────────────────────────┴───────────────┘
   ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
   ┃ Benchmark Summary                           ┃            ┃
   ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
   │ Total Time (main)                           │ 13071.91ms │
   │ Total Time (remove-redundant-repartition)   │ 13007.25ms │
   │ Average Time (main)                         │   594.18ms │
   │ Average Time (remove-redundant-repartition) │   591.24ms │
   │ Queries Faster                              │          4 │
   │ Queries Slower                              │          2 │
   │ Queries with No Change                      │         16 │
   └─────────────────────────────────────────────┴────────────┘
   
   ```


-- 
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...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to