Skip to content

llm --help is slow (all commands are slow) with certain plugins installed #949

@simonw

Description

@simonw

I ran the py-spy profiler like this:

sudo uvx py-spy record -o /tmp/profile.svg -- llm --help

Here's that profile: https://static.simonwillison.net/static/2025/llm-apr-23-profile.svg

Notable:

Image

https://github.com/simonw/llm-mlx and https://github.com/simonw/llm-sentence-transformers are both doing something expensive!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions