Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-30 Thread via GitHub
2010YOUY01 merged PR #16814: URL: https://github.com/apache/datafusion/pull/16814 -- 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...@dat

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-30 Thread via GitHub
2010YOUY01 commented on PR #16814: URL: https://github.com/apache/datafusion/pull/16814#issuecomment-3138533679 Thanks again @ding-young and @UBarney -- 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 g

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-30 Thread via GitHub
UBarney commented on PR #16814: URL: https://github.com/apache/datafusion/pull/16814#issuecomment-3136567712 > Another advantage of this external profiling approach is that we can compare different memory allocators side by side (e.g., `jemalloc` and `mimalloc`). From what I

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-28 Thread via GitHub
ding-young commented on PR #16814: URL: https://github.com/apache/datafusion/pull/16814#issuecomment-3126700775 > Personally, I prefer to use `time -v dfbench x` to get memory information. The main advantage is that it doesn't require any extra compilation of dfbench. @UBarney Th

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-28 Thread via GitHub
ding-young commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2235776170 ## benchmarks/src/bin/mem_profile.rs: ## @@ -0,0 +1,360 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreem

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-28 Thread via GitHub
2010YOUY01 commented on PR #16814: URL: https://github.com/apache/datafusion/pull/16814#issuecomment-3126517250 > Personally, I prefer to use `time -v dfbench x` to get memory information. The main advantage is that it doesn't require any extra compilation of dfbench. Another adv

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-28 Thread via GitHub
UBarney commented on PR #16814: URL: https://github.com/apache/datafusion/pull/16814#issuecomment-3126348457 Personally, I prefer to use `time -v dfbench x` to get memory information. The main advantage is that it doesn't require any extra compilation of dfbench. -- This is an au

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-28 Thread via GitHub
UBarney commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2235510316 ## benchmarks/src/bin/mem_profile.rs: ## @@ -0,0 +1,360 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreement

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-28 Thread via GitHub
ding-young commented on PR #16814: URL: https://github.com/apache/datafusion/pull/16814#issuecomment-3126062748 @2010YOUY01 Thank you ! I mentioned your suggestion in follow up issue, and I'll address it when I add support for nlj benchmark :) -- This is an automated message from the Apa

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-27 Thread via GitHub
ding-young commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2234818349 ## benchmarks/src/bin/mem_profile.rs: ## @@ -0,0 +1,360 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreem

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-27 Thread via GitHub
ding-young commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2234815857 ## benchmarks/src/bin/mem_profile.rs: ## @@ -0,0 +1,360 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreem

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-27 Thread via GitHub
ding-young commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2234803528 ## benchmarks/src/bin/mem_profile.rs: ## @@ -0,0 +1,360 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreem

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-27 Thread via GitHub
ding-young commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2234398080 ## benchmarks/README.md: ## @@ -321,6 +322,64 @@ FLAGS: ... ``` +# Profiling Memory Stats for each benchmark query +The `mem_profile` program wraps benchmar

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-27 Thread via GitHub
ding-young commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2234397012 ## benchmarks/src/util/memory.rs: ## @@ -0,0 +1,54 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements.

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-26 Thread via GitHub
2010YOUY01 commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2233621418 ## benchmarks/README.md: ## @@ -321,6 +322,64 @@ FLAGS: ... ``` +# Profiling Memory Stats for each benchmark query +The `mem_profile` program wraps benchmar

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-24 Thread via GitHub
ding-young commented on PR #16814: URL: https://github.com/apache/datafusion/pull/16814#issuecomment-3116251667 @2010YOUY01 This is ready for review :) I would love to hear your feedback. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-24 Thread via GitHub
ding-young commented on code in PR #16814: URL: https://github.com/apache/datafusion/pull/16814#discussion_r2230051866 ## benchmarks/README.md: ## @@ -321,6 +322,64 @@ FLAGS: ... ``` +# Profiling Memory Stats for each benchmark query +The `mem_profile` program wraps benchmar

[PR] Add benchmark utility to profile peak memory usage [datafusion]

2025-07-18 Thread via GitHub
ding-young opened a new pull request, #16814: URL: https://github.com/apache/datafusion/pull/16814 ## Which issue does this PR close? - Closes #16720 . ## Rationale for this change ## What changes are included in this PR? ## Are these change