Skip to content

Extend hook's teardown metadata with warmup/calibration flags #239

Description

@sergey-miryanov

I'm working on gc-monitor and have implemented a pyperf hook. The hook's teardown function writes collected run data to an intermediate file, but there's currently no way to distinguish between warmup, calibration, and measurement runs.

Would it make sense to extend the metadata dictionary passed to teardown with additional context, such as {"is_warmup": is_warmup, "calibrate_loops": calibrate_loops}?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions