alamb commented on issue #9577:
URL: 
https://github.com/apache/arrow-datafusion/issues/9577#issuecomment-1997688075

   I did some profiling locally by running the following
   
   ```rust
   cargo bench --bench sql_planner -- physical_plan_tpch_all
   ```
   
   My analysis is that almost 40% of the planning time is spent in 
SimplifyExprs and CommonSubexprEliminate
   
   I suspect there are many ways we could reduce clones in those passes
   
   ![Screenshot 2024-03-14 at 11 07 57 
AM](https://github.com/apache/arrow-datafusion/assets/490673/1c8214cc-09ec-41b2-aa5d-f52a5dfa4226)
   


-- 
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]

Reply via email to