Pyrefly: A Fast Python Type Checker and Language Server | Pyrefly

1 min read Original article ↗

Scale with Confidence

Type check over 1.85 million lines of code per second.Tested using Meta infrastructure (166 cores, 228 GB RAM)

Developer Delight

Get lightning fast autocomplete, and catch errors with instant feedback in your favorite editor.

Support at your Fingertips

Have questions or feedback to share? Connect with us on Discord

  • Performance Comparison

    Type checking the

    PyTorch

    codebase from scratch.Tested using Macbook
    (10 cores: 8 performance + 2 efficiency cores, 32 GB RAM)

    PyreflyCommand: "pyrefly check"
    Pyrefly uses as many threads as possible

    PyrightCommand: "pyright --threads=8"
    8 threads yielded the best performance after testing multiple settings

    MyPyCommand: "dmypy run"

    See Pyrefly in Action