Ncdu: An Updated Fork
github.com
github.com
1 minute vs 1 second for my entire / which includes mounts to NFS shares (used 1.4 TiB on host SSD, 14 TiB on NFS HDDs and 3 TiB on NFS SSD).
ncdu -t32
this uses 32 threads and should be much faster. I think only reason this isn't default is to be a friendly tool on your host.Seems to be wasting a lot of time scanning `/run/user/1000/doc` from Flatpak.
> This project carries significance for me
Same
> I aim to implement some form of CI/CD at some point as well.
Please feel free to cherry-pick whatever you need from my fork:
* https://github.com/BratishkaErik/ncdu
I have moved "static release" logic from Makefile to "build.zig", but the idea should be generally same and easily transferrable to your fork. There was also some other fork on Github which had more tests like integrations etc, but I lost it.
Also, I added your repository to the list of known forks, and tried to write some preliminary recollection/comparison of all 3 versions, if you want you can check it at https://code.blicky.net/yorhel/ncdu/issues/279
> https://lobste.rs/s/dsoh2w/ncdu_ncurses_disk_usage_updated_f... > I don't want to put down someone else's efforts or project. As I stated in another reply in this thread, there are some decisions that were made that I would not have and will not make.
I don't have accounts on Lobste.rs, and I thought it would be sort-of rude to ask this on Github Issues, so I'm asking here... sorry if it bothers you
Sorry if this came off poorly. You documented most of the differences here: https://code.blicky.net/yorhel/ncdu/issues/279
Ultimately, I won't make some of the same decisions regarding the build system and a few other changes. I feel like we have a small community of folks who cared actively about this project so I think having alternative options is a good thing! I have some ideas that might make building easier but I am also not keen on adding an external dependency unless it is strictly required but I don't think I'll be making substantial changes to the build system otherwise.
https://dev.yorhel.nl/doc/ncdu2
Post actually explains what's going on.