google / clasp

🔗 Command Line Apps Script Projects
https://developers.google.com/apps-script/guides/clasp
Apache License 2.0
4.52k stars 422 forks source link

Status speedup #1013

Open dotysan opened 1 month ago

dotysan commented 1 month ago

The recursive-readdir was so horribly slow/inefficient, running clasp status takes forever in a tree with lots of stuff in node_modules, .venv, etc. It even ran out of memory and crashed on one of my boxes.

This PR uses a fdir instead. Which is 1.27 gazillion times faster.

Closes #694