Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] npm list is still slow #7820

Open
2 tasks done
Rudxain opened this issue Oct 6, 2024 · 0 comments
Open
2 tasks done

[BUG] npm list is still slow #7820

Rudxain opened this issue Oct 6, 2024 · 0 comments
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@Rudxain
Copy link

Rudxain commented Oct 6, 2024

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

npm/npm#6507

  • On an Dell Inspiron 15R, with its HDD replaced by an SSD, running Debian 13, it takes ~1.2s
  • On a Samsung Galaxy A31, from Termux repos, it takes ~3s

It's slow, both with and without -g flag. Even on directories that contain no package.json

Expected Behavior

It should be sub ~128ms

Steps To Reproduce

  1. On Debian or Termux
  2. Run time npm list (-g optional)
  3. See timings

Environment

  • npm: 10.9.0
  • Node.js: v20.17.0
  • OS Name: Debian 13 "Trixie"
  • System Model Name: Inspiron 5521
  • npm config:
; copy and paste output from `npm config ls` here
; TO-DO
@Rudxain Rudxain added Bug thing that needs fixing Needs Triage needs review for next steps labels Oct 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

1 participant