Skip to content

[C++] Add basic visibility into execution engine performance #30574

@asfimport

Description

@asfimport

For internal development purposes and for bug reports and highly technical users it will be extremely helpful if we can turn on and off a profiling log.

I think initially:

  • We may want the ability to entirely disable logging with a compile-time variable (we may already have this since OT can be entirely disabled)
  • Enabling or disabling the log is controlled by an environment variable (assuming we built with logging)
  • The log will initially just dump to stdout or a flat file (we can also or will also someday export via OT)
  • Some initial metrics include "run time of node", "run time of kernel function", "run time of query"
  • It would be nice if we could get some regular statistics as well such as the allocated bytes of the memory pools, RSS consumed by the process, etc. Perhaps that would require two files.

Reporter: Weston Pace / @westonpace

Subtasks:

Related issues:

Note: This issue was originally created as ARROW-15059. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions