andygrove opened a new pull request, #3628: URL: https://github.com/apache/datafusion-comet/pull/3628
## Summary - Renames `profiling_native_code.md` → `profiling.md` and expands it into a comprehensive profiling guide - Adds a **tool comparison table** (async-profiler vs JFR vs cargo-flamegraph) with guidance on when to use each - Adds **async-profiler** section: installation, attaching to running Spark apps via `asprof`, java agent usage, event types, output formats, platform notes - Adds **Java Flight Recorder** section: spark-submit flags, `jcmd` dynamic recording, viewer options, useful JFR events for Comet debugging - Adds **Tips for Profiling Comet** section: wall-clock profiling for JNI overhead, alloc profiling around Arrow FFI, isolating Rust issues, correlating JVM/native frames - Preserves all existing cargo bench / cargo-flamegraph content - Links to `benchmarks/tpc/README.md` for integrated benchmark profiling ## Test plan - [ ] Verify Sphinx build succeeds (`make docs` or equivalent) - [ ] Review rendered page for readability and correct links 🤖 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]
