• [Python-announce] [ANN] speedrunner 0.4.10: a daemon that forks Python CLIs instead of starting them

    From Anthony Gosme@anthonygosme@gmail.com to comp.lang.python.announce on Sun Nov 8 21:38:03 2026
    From Newsgroup: comp.lang.python.announce

    Announcing speedrunner 0.4.10, which I wrote.

    It keeps a command-line tool imported in a daemon and forks that daemon for each call, so the interpreter start and the imports are skipped. No
    per-tool setup: "srr black --check sample.py", 92 ms natively, 12 ms
    served. Version 0.4.10 also serves tools called through "uv run" and
    "python -m": "python3 -m pip --version" goes from 304 ms to 18 ms.

    Over 96 commands in Python, Ruby, PHP and Node the median speedup is x4.8;
    69 of those print only a version or help. Linux and macOS only. The first
    call runs natively, and a tool's own work is not sped up.

    License: MIT or Apache-2.0.
    Code and measurements: https://github.com/anthonyGosme/speedrunner on GitHub

    Anthony Gosme
    --- Synchronet 3.22a-Linux NewsLink 1.2