Open
Description
Describe the Bug
I have a small 3k line project with not many dependencies
If I install its dependencies in a fresh environment, pyrefly runs in about 200ms:
INFO 17 errors shown, 4 errors ignored, 19 modules, 485 transitive dependencies, 143,623 lines, took 0.20s, peak memory physical 130.6 MiB
However, if I run in a large monolithic Python virtual environment with over a thousand installs, pyrefly runs in ~30s:
INFO 17 errors shown, 4 errors ignored, 19 modules, 17,920 transitive dependencies, 8,128,708 lines, took 26.33s, peak memory physical 1.9 GiB
The project is in a closed source repo, but I will try to see if I can make an open source reproduction.
In the meantime, is there anything I can do to figure out what the extra transitive dependencies pyrefly is checking are? --verbose
doesn't seem to make a difference
pyrefly 0.16.3