Skip to content

Completions have become significantly slower starting from 3.44.0 #2521

@vctls

Description

@vctls

Description

I have generated taskfiles with a lot of tasks (several hundreds) that I specifically use for auto-completion.
When switching from v3.43.3 to 3.44.0, completion time has gone up from around 1 second to around 3 or 4 seconds.
I tried with fish and bash, they are both slower.
The problem appeared in 3.44.0 and is still present in 3.45.5.

Maybe having hundreds of tasks is not really an intended use case? I'll take alternative suggestions.

Version

3.45.5

Operating system

Ubuntu 24.4

Experiments Enabled

No response

Example Taskfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: completionsChanges related to shell completions and scripts.area: execChanges related to the execution of commands.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions