lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.31k stars 431 forks source link

[Bug] Tree is much slower with lsd than exa. #971

Closed m-nelly closed 9 months ago

m-nelly commented 9 months ago

Expected behavior

Directory trees should generate at somewhat comparable speeds between tools.

Actual behavior

Command lsd --tree run in ~/ takes roughly two seconds to generate any output and then generates the whole tree whereas exa --tree generates the full output in less than one second.

zwpaper commented 9 months ago

we have an issue tracking this, and I will try to do some improvement in the next release

https://github.com/lsd-rs/lsd/issues/378

luketych commented 5 days ago

Yes it is very very slow to the point of being unusable. Please fix, it's not that difficult. I can share my code for a custom tree command that prints in real-time and executes in less than 1 second.