Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Yarn run takes at least one second #3613

Closed
1 task
simlevesque opened this issue Oct 21, 2021 · 1 comment
Closed
1 task

[Bug]: Yarn run takes at least one second #3613

simlevesque opened this issue Oct 21, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@simlevesque
Copy link

Self-service

  • I'd be willing to implement a fix

Describe the bug

When I run a script X from the package.json using yarn run X or yarn X, it takes at least a second everytime.

Is this normal ? will it always be this way ?

I understand that parsing the package takes some time. But one second seems like a lot. For quick CLIs the 1 seconds adds up.

To reproduce

yarn run

Environment

System:
    OS: Linux 5.13 Ubuntu 21.10 21.10 (Impish Indri)
    CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz
  Binaries:
    Node: 14.16.0 - /tmp/xfs-17322638/node
    Yarn: 3.0.2 - /tmp/xfs-17322638/yarn
    npm: 7.20.5 - ~/.local/share/nvm/v14.16.0/bin/npm

Additional context

No response

@simlevesque simlevesque added the bug Something isn't working label Oct 21, 2021
@merceyz
Copy link
Member

merceyz commented Oct 21, 2021

Duplicate of #2575

@merceyz merceyz marked this as a duplicate of #2575 Oct 21, 2021
@merceyz merceyz closed this as completed Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants