Skip to content

Performance improvements #1108

@carloscuesta

Description

@carloscuesta

Describe the bug

Hey! 👋🏼

Our cli can be improved when running and executing commands. In some scenarios and depending on the operating system some commands can take up to 1s to give some output.

See: #1096

Reproduction

This can be reproduced using the time command:

time gitmoji --help
time gitmoji --list
time gitmoji --search bug

As a result you'll get an output with the seconds each operation take to complete (for the given commands you'll get something like:

gitmoji --help  0.41s user 0.08s system 115% cpu 0.425 total
gitmoji --list  0.46s user 0.10s system 62% cpu 0.900 total
gitmoji --search bug  0.45s user 0.08s system 119% cpu 0.448 total

Additional context

We should explore the cli to understand if we can apply any improvements that impact the overall time commands take to complete.

System Info

N/A

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions