Skip to content

1.1.404 performance regression with scipy-stubs #10832

@jorenham

Description

@jorenham

I ran the following on the scipy-stubs codebase a couple of times:

uvx --with pyright==1.1.403 pyright --stats --pythonpath=.venv/bin/python

The average of the completions times is roughly 14.25 +-0.05 seconds.

I then repeated this for 1.1.404 (after letting my cpu cool down a bit of course):

uvx --with pyright==1.1.404 pyright --stats --pythonpath=.venv/bin/python

Which completed in 15.7 +-0.1 seconds on average.

After reading the release notes, I expected to see the opposite, so I figured that this could be worth reporting.


When I run pyright directly from the scipy-stubs env using uv run, the difference is even larger (and for some reason it's at least 10 seconds slower in both cases, but I doubt that pyright can do anything about that).

Metadata

Metadata

Assignees

No one assigned

    Labels

    addressed in next versionIssue is fixed and will appear in next published versionbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions