2010YOUY01 opened a new issue, #16720:
URL: https://github.com/apache/datafusion/issues/16720

   ### Is your feature request related to a problem or challenge?
   
   Currently in DataFusion's benchmark: it only measures execution time. It 
would be helpful to also measure the total memory used.
   
   ### Describe the solution you'd like
   
   Approach 1: Implement memory tracker inside operators, update max RSS for 
each poll, and collect the stats when the query finished.
   Comet has implemented something similar 
https://github.com/apache/datafusion-comet/pull/1702
   
   Approach 2: Profile memory stats externally in the benchmark script
   
   I'm now slightly leaning toward approach 2, as it doesn't add complexity to 
the core.
   
   cc @ding-young 
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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