Skip to content

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

@sergey-miryanov

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}?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions