npkill icon indicating copy to clipboard operation
npkill copied to clipboard

Performance Improvement

Open ScriptedAlchemy opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Deleting monorepo packages is pretty slow - it would be nice if there was a divide and concur flag that I could set.

Describe the solution you'd like When hitting space and start deleting a directory, parse the files,folders and group them into smaller array sets like 50 packages per array, then pass this to a worker or something to execute FS deletes in parallel

Describe alternatives you've considered None at this point

ScriptedAlchemy avatar Mar 22 '22 19:03 ScriptedAlchemy

Thank you for opening this issue!

In principle the deletion should be non-blocking so this should not happen.

Just in case this happens on Mac?

zaldih avatar Nov 01 '22 17:11 zaldih