lsd
lsd copied to clipboard
lsd -ltr requires a lot of time
- os: Windows
lsd --version: 0.21.0echo $TERM: -echo $LS_COLORS: -
I like lsd a lot over other tools like exa but for one use case I hope it could be improved.
lsd -ltr in a folder with ~3000+ files will take ~30 seconds before output. Any chance to reduce waiting time?
I met a similar bug:
In windows:

In linux:

It looks lsd has heavy performance problem.
we found this issue previously, and there is a WIP PR, I will look into it when I have some free time
https://github.com/Peltoche/lsd/pull/441
Does the problem happen without giving the -ltr options?
If so, this is a duplicate of https://github.com/lsd-rs/lsd/issues/378
- just tested in a directory with 60.269 files on my new computer (Windows 11 and new SSD compared to my old system)
- lsd 1.0.0
- used ptime (http://www.pc-tools.net/win32/) to measure execution time
lsd
Execution time: 19.957 s
lsd -ltr
Execution time: 22.760 s
If this is a duplicate of #378, please close this issue.