Skip to content

Add utility to analyze the memory usage of internal trace representation #191

Description

@fengxizhou

🚀 Motivation and context

When we scale up HTA to support large traces, the memory usage of the internal trace representation becomes a concern. A simple memory usage analysis utility can highlight how the memory is used by the trace and reveal where an optimization can be made.

Description

We would like a utility like follows:

analyze_memory_usage(trace_df)

This utility can output the memory usage of the trace_df as follows:
Screenshot 2024-10-22 at 6 44 34 PM

Alternatives

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions