Skip to content

improve memory profiler to not to profile every iteration #422

@tianyu-l

Description

@tianyu-l

Currently if we enable memory profiling, every iteration will be profiled with trace dumped, regardless of profile frequency. This overhead can be avoided if we only profile and dump one iteration per profile_freq steps.

referring to #395 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions