1 unstable release
0.1.0 | Dec 14, 2023 |
---|
#40 in #filesize
13KB
223 lines
histodu
Summarize file size distribution, quickly.
$ histodu /nix/store
count = 14299237
mean = 46.1 kiB
0% = 1 B
50% = 815 B
90% = 17.1 KB
99% = 330.8 KB
100% = 1.2 GB
72.925% = 4.0 kiB
96.197% = 64.0 kiB
99.584% = 1.0 MiB
11.25user 154.21system 0:12.16elapsed 1360%CPU (0avgtext+0avgdata 507416maxresident)k
2087168inputs+0outputs (0major+145077minor)pagefaults 0swaps
License
MIT OR Apache-2.0.
Credit
- Motivated by https://farseerfc.me/file-size-histogram.html.
- This project is named by @dramforever at github.
lib.rs
:
WARNING: The library interface of this crate is considered unstable and should not be relied on. The crate version is solely corresponding to the binary CLI.
Dependencies
~4MB
~72K SLoC