Add basic runtime profiling in cudf-polars - #21277
Conversation
|
Could you share a bit of background on the goal here, and what type of information we're trying to collect, and what our desired output looks like? And I'll look more closely, but I'm especially curious whether we'd be able to integrate this into our cudf-polars tracing at https://github.com/rapidsai/cudf/blob/main/python/cudf_polars/cudf_polars/dsl/tracing.py. I think that we might already have some things like node count (if we mean the same thing for "node": a cudf-polars IR node): The list under That's built on structlog, which I think gives us a couple of additional nice things:
|
|
Right now, this just allows us to view the plan after the run with real row- and chunk-count statistics. For example, if I pass in the This is "nice to have", but the my biggest motivation for pushing this in now is that I've also been traking a With that said, I'm very happy to do something different here. In the short term, I just need a mechanism to review an adaptive plan. |
|
Closing in favor of #21309 |
- Closes #21244 - **Another** Alternative to #21277 and #21309 - Part of #20482 Authors: - Richard (Rick) Zamora (https://github.com/rjzamora) Approvers: - Tom Augspurger (https://github.com/TomAugspurger) URL: #21316
Description
Checklist