Skip to content

Help flag is awfully slow #486

@AllanRegush

Description

@AllanRegush

Describe the issue

Running the help flag is awfully slow.

Vapor version

4.115.0

Operating system and version

macOS 26.0.1

Swift version

Swift 6.2.0-dev

Steps to reproduce

vapor -h

Outcome

$ time vapor -h
OVERVIEW: Vapor Toolbox (Server-side Swift web framework)

USAGE: vapor <subcommand>

OPTIONS:
  --version               Show the version.
  -h, --help              Show help information.

SUBCOMMANDS:
  new (default)           Generates a new app.

  See 'vapor help <subcommand>' for detailed help.
vapor -h  1.37s user 0.44s system 50% cpu 3.584 total

This command should be pretty quick. We might be doing a bunch of unnecessary work.

Additional notes

This is run on a M1 MacBook Air 2020, 8GB Model

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions