Skip to content

detect regressions of pyright analysis time in CI #797

@jorenham

Description

@jorenham

ref: #775 (comment)

This could be done by comparing the outputs of e.g. uv run basedpyright --stats --verbose scipy-stubs of the base branch and the PR branch.
It would fail when the slowdown of a particular file would be greater than some constant threshold, e.g. 100 ms. Or perhaps instead of failing, it could post a mypy_primer-esque comment that reports the differences in performance, including any notable improvements.
Care should be taken to ensure that this will also work in case of removed or created files.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions