andygrove opened a new pull request, #3613:
URL: https://github.com/apache/datafusion-comet/pull/3613

   ## Summary
   - Add `--async-profiler` flag to `run.py` for profiling both Java and native 
(Rust/C++) code, with configurable event type (`cpu`, `wall`, `alloc`, `lock`) 
and output format (`flamegraph`, `jfr`, `collapsed`, `text`)
   - Install async-profiler v3.0 in the Docker image with automatic 
architecture detection (x64/aarch64)
   - Add comprehensive documentation in README.md covering prerequisites, usage 
examples, and Docker setup
   - Fix minor bug where profiling output directories were created during 
`--dry-run`
   
   ## Test plan
   - [x] Verified `--dry-run --async-profiler` produces correct `-agentpath` in 
`extraJavaOptions`
   - [x] Verified combined `--jfr --async-profiler` appends both to 
`extraJavaOptions` correctly
   - [x] Verified missing `ASYNC_PROFILER_HOME` produces clear error message
   - [ ] Run benchmark with `--async-profiler` on a Linux host to validate 
end-to-end profiling
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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